26 #ifndef FILESYSTEM_TOOLS_HPP 27 #define FILESYSTEM_TOOLS_HPP 29 #include "../my_config.h" 52 bool filesystem_tools_has_immutable(
const cat_inode & arg);
53 void filesystem_tools_set_immutable(
const std::string & target,
bool val, user_interaction &ui);
54 void filesystem_tools_supprime(user_interaction & ui,
const std::string & ref);
55 void filesystem_tools_widen_perm(user_interaction & dialog,
56 const cat_inode & ref,
57 const std::string & chem,
59 void filesystem_tools_make_owner_perm(user_interaction & dialog,
60 const cat_inode & ref,
61 const std::string & chem,
64 void filesystem_tools_make_date(
const cat_inode & ref,
65 const std::string & chem,
69 void filesystem_tools_attach_ea(
const std::string &chemin,
71 const mask & ea_mask);
72 bool filesystem_tools_is_nodump_flag_set(user_interaction & dialog,
73 const path & chem,
const std::string & filename,
75 path *filesystem_tools_get_root_with_symlink(user_interaction & dialog,
78 mode_t filesystem_tools_get_file_permission(
const std::string & path);
80 void filesystem_tools_make_delta_patch(
const std::shared_ptr<user_interaction> & dialog,
81 const cat_file & existing,
82 const std::string & existing_pathname,
83 const cat_file & patcher,
84 const path & directory);
93 std::string & new_filename);
95 void filesystem_tools_copy_content_from_to(
const std::shared_ptr<user_interaction> & dialog,
96 const std::string & source_path,
97 const std::string & destination_path,
98 const crc *expected_crc);
comparison_fields
how to consider file change during comparison and incremental backup
filesystem specific attributes available families and fsa_scope definition
fichier_local * filesystem_tools_create_non_existing_file_based_on(const std::shared_ptr< user_interaction > &dialog, std::string filename, path where, std::string &new_filename)
create in dirname a brand-new filename which name derives from filename
class crc definition, used to handle Cyclic Redundancy Checks
class generic_file is defined here as well as class fichierthe generic_file interface is widely used ...
class fichier_local definition. This is a full implementation/inherited class of class fichier_global...
defines the interaction interface between libdar and users.
here is the definition of the path classthe path class handle path and provide several operation on t...
std::set< fsa_family > fsa_scope
set of fsa families
switch module to limitint (32 ou 64 bits integers) or infinint
include file gathering all entree found in a catalogue
libdar namespace encapsulate all libdar symbols