30 #include "../my_config.h" 59 const std::string & basename,
60 const std::string & extension,
61 const archive_options_read & options):
71 const path & sauv_path,
72 const std::string & filename,
73 const std::string & extension,
74 const archive_options_create & options,
86 const path & sauv_path,
88 const std::string & filename,
89 const std::string & extension,
90 const archive_options_merge & options,
94 std::shared_ptr<archive>(ref_arch1),
102 const path & chem_src,
103 const std::string & basename_src,
104 const std::string & extension_src,
105 const archive_options_read & options_read,
106 const path & chem_dst,
107 const std::string & basename_dst,
108 const std::string & extension_dst,
138 const archive_options_listing & options);
141 const path & fs_root,
142 const archive_options_diff & options,
159 const path &sauv_path,
160 const std::string & filename,
161 const std::string & extension,
162 const archive_options_isolate & options)
172 const std::string & dir);
186 static void listing_callback(
const std::string & the_path,
libdar5 namespace encapsulate all libdar symbols
void op_isolate(const path &sauv_path, const std::string &filename, const std::string &extension, const archive_options_isolate &options)
this methodes isolates the catalogue of a the current archive into a separated archive ...
the archive class is defined in this module
statistics op_diff(const path &fs_root, const archive_options_diff &options, statistics *progressive_report)
archive comparison with filesystem
void init_catalogue() const
void drop_all_filedescriptors()
closes all filedescriptors and associated even when in sequential read mode
class holding optional parameters used to test the structure coherence of an existing archive ...
statistics op_test(const archive_options_test &options, statistics *progressive_report)
test the archive integrity
void op_listing(user_interaction &dialog, const archive_options_listing &options)
overwriting op_listing to use the user_interaction as callback
the archive class realizes the most general operations on archives
API v5 compatible archive_options_* classes.
bool get_children_of(user_interaction &dialog, const std::string &dir)
overloading get_children_of to use the user_interaction object as callback
class holding optional parameters used to create an archive
void summary()
display a summary of the archive
the archive class realizes the most general operations on archives
API v5 backward compatible class user_interaction.
statistics op_extract(const path &fs_root, const archive_options_extract &options, statistics *progressive_report)
extraction of data from an archive
std::shared_ptr< user_interaction > user_interaction5_clone_to_shared_ptr(user_interaction &dialog)
convert a user_interaction to a shared_pointer on a clone of that user_interaction ...
This is a pure virtual class that is used by libdar when interaction with the user is required...
class used by libdar::archive class to give a summary of treated file during and after an operation ...
the class path is here to manipulate paths in the Unix notation: using'/'