26#ifndef FILESYSTEM_TOOLS_HPP
27#define FILESYSTEM_TOOLS_HPP
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);
57 const std::string & chem,
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);
73 const path & chem,
const std::string & filename,
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,
82 const std::string & existing_pathname,
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);
include file gathering all entree found in a catalogue
the root class for all cat_inode
pure virtual class defining interface of a CRC object
the generic class, parent of all masks
the class path is here to manipulate paths in the Unix notation: using'/'
This is a pure virtual class that is used by libdar when interaction with the user is required.
class crc definition, used to handle Cyclic Redundancy Checks
class fichier_local definition. This is a full implementation/inherited class of class fichier_global...
filesystem specific attributes available families and fsa_scope definition
class generic_file is defined here as well as class fichier
comparison_fields
how to consider file change during comparison and incremental backup
std::set< fsa_family > fsa_scope
set of fsa families
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
bool filesystem_tools_read_linux_birthtime(const std::string &target, datetime &val)
read the birthtime of target inode
switch module to limitint (32 ou 64 bits integers) or infinint
include macro defined by the configure script and some specific additional ones
libdar namespace encapsulate all libdar symbols
here is the definition of the path class
defines the interaction interface between libdar and users.