Disk ARchive
2.4.5
|
wrapper class for archive More...
#include <libdar_4_4.hpp>
Inherits libdar::archive.
Public Types | |
typedef libdar::archive_options_listing::listformat | 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) | |
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) | |
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) | |
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) | |
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) |
void | op_listing (user_interaction &dialog, bool info_details, archive::listformat list_mode, const mask &selection, bool filter_unsaved) |
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, const infinint &hourshift=0) |
statistics | op_test (user_interaction &dialog, const mask &selection, const mask &subtree, bool info_details, bool display_skipped, statistics *progressive_report) |
![]() | |
archive (user_interaction &dialog, const path &chem, const std::string &basename, const std::string &extension, const archive_options_read &options) | |
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, const std::string &filename, const std::string &extension, const archive_options_create &options, 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, const archive_options_isolate &options) | |
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, const std::string &filename, const std::string &extension, const archive_options_merge &options, statistics *progressive_report) | |
this constructor builds an archive from two given archive [this is the "merge" constructor] | |
archive (const archive &ref) | |
copy constructor (not implemented, throw an exception if called explicitely or implicitely) | |
archive & | operator= (const archive &ref) |
~archive () | |
the destructor | |
statistics | op_extract (user_interaction &dialog, const path &fs_root, const archive_options_extract &options, statistics *progressive_report) |
extraction of data from an archive | |
void | summary (user_interaction &dialog) |
display a summary of the archive | |
void | op_listing (user_interaction &dialog, const archive_options_listing &options) |
listing of the archive contents | |
statistics | op_diff (user_interaction &dialog, const path &fs_root, const archive_options_diff &options, statistics *progressive_report) |
archive comparison with filesystem | |
statistics | op_test (user_interaction &dialog, const archive_options_test &options, 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 entree_stats | get_stats () const |
retrieving statistics about archive contents | |
const catalogue & | get_catalogue () const |
gives access to internal catalogue (not to be used from the API) | |
const catalogue & | get_catalogue (user_interaction &dialog) const |
gives access to internal catalogue (not to be used from the API) even in sequential read mode | |
void | drop_all_filedescriptors () |
closes all filedescriptors and associated data, just keep the catalogue | |
void | drop_all_filedescriptors (user_interaction &dialog) |
closes all filedescriptors and associated even when in sequential read mode |
Static Public Member Functions | |
static archive * | piggy_convert (libdar::archive *ref) |
convertion from libdar::archive * to libdar_4_4::archive * |
Static Public Attributes | |
static const listformat | normal = libdar::archive_options_listing::normal |
static const listformat | tree = libdar::archive_options_listing::tree |
static const listformat | xml = libdar::archive_options_listing::xml |
wrapper class for archive
Definition at line 242 of file libdar_4_4.hpp.