#include <archive.hpp>
Public Types | |
| enum | listformat |
| defines the way archive listing is done: | |
Public Member Functions | |
| archive (user_interaction &dialog, const path &chem, const std::string &basename, const std::string &extension, crypto_algo crypto, const std::string &pass, U_32 crypto_size, const std::string &input_pipe, const std::string &output_pipe, const std::string &execute, bool info_details) | |
| this constructor opens an already existing archive (for reading) [this is the "read" constructor] | |
| archive (user_interaction &dialog, const path &fs_root, const path &sauv_path, archive *ref_arch, const mask &selection, const mask &subtree, const std::string &filename, const std::string &extension, bool allow_over, bool warn_over, bool info_details, const infinint &pause, bool empty_dir, compression algo, U_I compression_level, const infinint &file_size, const infinint &first_file_size, const mask &ea_mask, const std::string &execute, crypto_algo crypto, const std::string &pass, U_32 crypto_size, const mask &compr_mask, const infinint &min_compr_size, bool nodump, inode::comparison_fields what_to_check, const infinint &hourshift, bool empty, bool alter_atime, bool same_fs, bool snapshot, bool cache_directory_tagging, bool display_skipped, const infinint &fixed_date, statistics *progressive_report) | |
| this constuctor create an archive (full or differential) [this is the "create" constructor] | |
| archive (user_interaction &dialog, const path &sauv_path, archive *ref_arch, const std::string &filename, const std::string &extension, bool allow_over, bool warn_over, bool info_details, const infinint &pause, compression algo, U_I compression_level, const infinint &file_size, const infinint &first_file_size, const std::string &execute, crypto_algo crypto, const std::string &pass, U_32 crypto_size, bool empty) | |
| this constructor isolates a catalogue of a given archive [this is the "isolate" constructor] | |
| archive (user_interaction &dialog, const path &sauv_path, archive *ref_arch1, archive *ref_arch2, const mask &selection, const mask &subtree, const std::string &filename, const std::string &extension, bool allow_over, bool warn_over, bool info_details, const infinint &pause, bool empty_dir, compression algo, U_I compression_level, const infinint &file_size, const infinint &first_file_size, const mask &ea_mask, const std::string &execute, crypto_algo crypto, const std::string &pass, U_32 crypto_size, const mask &compr_mask, const infinint &min_compr_size, bool empty, bool display_skipped, bool keep_compressed, statistics *progressive_report) | |
| this constructor builds an archive from two given archive [this is the "merge" constructor] | |
| ~archive () | |
| the destructor | |
| statistics | op_extract (user_interaction &dialog, const path &fs_root, const mask &selection, const mask &subtree, bool allow_over, bool warn_over, bool info_details, bool detruire, bool only_more_recent, const mask &ea_mask, bool flat, inode::comparison_fields what_to_check, bool warn_remove_no_match, const infinint &hourshift, bool empty, bool ea_erase, bool display_skipped, statistics *progressive_report) |
| extraction of data from an archive | |
| void | op_listing (user_interaction &dialog, bool info_details, archive::listformat list_mode, const mask &selection, bool filter_unsaved) |
| listing of the archive contents | |
| statistics | op_diff (user_interaction &dialog, const path &fs_root, const mask &selection, const mask &subtree, bool info_details, const mask &ea_mask, inode::comparison_fields what_to_check, bool alter_atime, bool display_skipped, statistics *progressive_report) |
| archive comparison with filesystem | |
| statistics | op_test (user_interaction &dialog, const mask &selection, const mask &subtree, bool info_details, bool display_skipped, statistics *progressive_report) |
| test the archive integrity | |
| bool | get_children_of (user_interaction &dialog, const std::string &dir) |
| getting information about a given directory | |
| const catalogue & | get_catalogue () const |
| gives access to internal catalogue (not to be used from the API) | |
the operations corresponds to the one the final user expects, theses are the same abstraction level as the operation realized by the DAR command line tool.
Definition at line 50 of file archive.hpp.
|
||||||||||||||||||||||||||||||||||||||||||||||||
|
this constructor opens an already existing archive (for reading) [this is the "read" constructor]
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
this constuctor create an archive (full or differential) [this is the "create" constructor]
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
this constructor isolates a catalogue of a given archive [this is the "isolate" constructor]
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
this constructor builds an archive from two given archive [this is the "merge" constructor]
|
|
|
gives access to internal catalogue (not to be used from the API)
Definition at line 448 of file archive.hpp. |
|
||||||||||||
|
getting information about a given directory
|
|
||||||||||||||||||||||||||||||||||||||||||||
|
archive comparison with filesystem
|
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
|
extraction of data from an archive
|
|
||||||||||||||||||||||||
|
listing of the archive contents
|
|
||||||||||||||||||||||||||||
|
test the archive integrity
|
1.4.2