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,
158 void op_isolate(user_interaction & dialog,
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,
the archive class is defined in this module
API v5 compatible archive_options_* classes.
the archive class realizes the most general operations on archives
bool get_children_of(user_interaction &dialog, const std::string &dir)
overloading get_children_of to use the user_interaction object as callback
void op_listing(user_interaction &dialog, const archive_options_listing &options)
overwriting op_listing to use the user_interaction as callback
This is a pure virtual class that is used by libdar when interaction with the user is required.
class holding optional parameters used to create an archive
class holding optional parameters used to test the structure coherence of an existing archive
the archive class realizes the most general operations on archives
the class path is here to manipulate paths in the Unix notation: using'/'
class used by libdar::archive class to give a summary of treated file during and after an operation
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
statistics op_test(const archive_options_test &options, statistics *progressive_report)
test the archive integrity
statistics op_diff(const path &fs_root, const archive_options_diff &options, statistics *progressive_report)
archive comparison with filesystem
void init_catalogue() const
void summary()
display a summary of the archive
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
void drop_all_filedescriptors()
closes all filedescriptors and associated even when in sequential read mode
statistics op_extract(const path &fs_root, const archive_options_extract &options, statistics *progressive_report)
extraction of data from an archive
libdar5 namespace encapsulate all libdar symbols
API v5 backward compatible class user_interaction.