|
| cat_file (const infinint &xuid, const infinint &xgid, U_16 xperm, const datetime &last_access, const datetime &last_modif, const datetime &last_change, const std::string &src, const path &che, const infinint &taille, const infinint &fs_device, bool x_furtive_read_mode) |
|
| cat_file (const std::shared_ptr< user_interaction > &dialog, const smart_pointer< pile_descriptor > &pdesc, const archive_version &reading_ver, saved_status saved, compression default_algo, bool small) |
|
| cat_file (const cat_file &ref) |
|
| cat_file (cat_file &&ref)=delete |
|
cat_file & | operator= (const cat_file &ref)=delete |
|
cat_file & | operator= (cat_file &&ref)=delete |
|
virtual bool | has_changed_since (const cat_inode &ref, const infinint &hourshift, comparison_fields what_to_check) const override |
|
infinint | get_size () const |
|
void | change_size (const infinint &s) const |
|
infinint | get_storage_size () const |
|
void | set_storage_size (const infinint &s) |
|
bool | can_get_data () const |
| check whether the object will be able to provide a object using get_data() method
|
|
virtual generic_file * | get_data (get_data_mode mode, std::shared_ptr< memory_file > delta_sig_mem, U_I signature_block_size, std::shared_ptr< memory_file > delta_ref, const crc **checksum=nullptr) const |
| returns a newly allocated object in read_only mode More...
|
|
void | clean_data () |
|
void | set_offset (const infinint &r) |
|
const infinint & | get_offset () const |
|
virtual unsigned char | signature () const override |
| inherited class signature
|
|
virtual std::string | get_description () const override |
| inherited class designation
|
|
void | set_crc (const crc &c) |
|
bool | get_crc (const crc *&c) const |
| the argument is set the an allocated crc object the owned by the "cat_file" object, its stay valid while this "cat_file" object exists and MUST NOT be deleted by the caller in any case
|
|
bool | has_crc () const |
|
bool | get_crc_size (infinint &val) const |
| returns true if crc is know and puts its width in argument
|
|
void | drop_crc () |
|
void | set_sparse_file_detection_read (bool val) |
|
void | set_sparse_file_detection_write (bool val) |
|
bool | get_sparse_file_detection_read () const |
|
bool | get_sparse_file_detection_write () const |
|
virtual cat_entree * | clone () const override |
| a way to copy the exact type of an object even if pointed to by a parent class pointer
|
|
compression | get_compression_algo_read () const |
|
compression | get_compression_algo_write () const |
|
void | change_compression_algo_write (compression x) |
|
bool | is_dirty () const |
|
void | set_dirty (bool value) |
|
bool | has_delta_signature_structure () const |
| return whether the object has an associated delta signature structure
|
|
bool | has_delta_signature_available () const |
| return whether the object has an associated delta signature structure including a delta signature data (not just CRC) More...
|
|
bool | has_patch_base_crc () const |
| returns whether the object has a base patch CRC (s_delta status objects)
|
|
bool | get_patch_base_crc (const crc *&c) const |
| returns the CRC of the file to base the patch on, for s_delta objects
|
|
void | set_patch_base_crc (const crc &c) |
| set the reference CRC of the file to base the patch on, for s_detla objects
|
|
bool | has_patch_result_crc () const |
| returns whether the object has a CRC corresponding to data (for s_saved, s_delta, and when delta signature is present)
|
|
bool | get_patch_result_crc (const crc *&c) const |
| returns the CRC the file will have once restored or patched (for s_saved, s_delta, and when delta signature is present)
|
|
void | set_patch_result_crc (const crc &c) |
| set the CRC the file will have once restored or patched (for s_saved, s_delta, and when delta signature is present)
|
|
void | will_have_delta_signature_structure () |
| prepare the object to receive a delta signature structure
|
|
void | will_have_delta_signature_available () |
| prepare the object to receive a delta signature structure including delta signature More...
|
|
void | dump_delta_signature (std::shared_ptr< memory_file > &sig, U_I sign_block_size, generic_file &where, bool small) const |
| write down to archive the given delta signature More...
|
|
void | dump_delta_signature (generic_file &where, bool small) const |
| variant of dump_delta_signature when just CRC have to be dumped
|
|
void | read_delta_signature_metadata () const |
| load metadata (and delta signature when in sequential mode) into memory More...
|
|
void | read_delta_signature (std::shared_ptr< memory_file > &delta_sig, U_I &block_len) const |
| fetch the delta signature from the archive More...
|
|
void | drop_delta_signature_data () const |
| drop the delta signature from memory (will not more be posible to be read, using read_delta_signature)
|
|
bool | has_same_delta_signature (const cat_file &ref) const |
| return true if ref and "this" have both equal delta signatures
|
|
void | clear_delta_signature_only () |
| remove information about delta signature also associated CRCs if status is not s_delta
|
|
void | clear_delta_signature_structure () |
| remove any information about delta signature
|
|
virtual bool | operator== (const cat_entree &ref) const override |
| not used
|
|
bool | same_data_as (const cat_file &other, bool check_data, const infinint &hourshift) |
| compare just data not inode information EA nor FSA
|
|
const archive_version & | get_archive_version () const |
| expose the archive format the object of the backup this object comes from
|
|
| cat_inode (const infinint &xuid, const infinint &xgid, U_16 xperm, const datetime &last_access, const datetime &last_modif, const datetime &last_change, const std::string &xname, const infinint &device) |
| flag used to only consider certain fields when comparing/restoring inodes
|
|
| cat_inode (const std::shared_ptr< user_interaction > &dialog, const smart_pointer< pile_descriptor > &pdesc, const archive_version &reading_ver, saved_status saved, bool small) |
|
| cat_inode (const cat_inode &ref) |
|
| cat_inode (cat_inode &&ref) noexcept |
|
cat_inode & | operator= (const cat_inode &ref) |
|
cat_inode & | operator= (cat_inode &&ref) |
|
const infinint & | get_uid () const |
|
const infinint & | get_gid () const |
|
U_16 | get_perm () const |
|
datetime | get_last_access () const |
|
datetime | get_last_modif () const |
|
void | set_last_access (const datetime &x_time) |
|
void | set_last_modif (const datetime &x_time) |
|
infinint | get_device () const |
|
bool | same_as (const cat_inode &ref) const |
|
bool | is_more_recent_than (const cat_inode &ref, const infinint &hourshift) const |
|
void | compare (const cat_inode &other, const mask &ea_mask, comparison_fields what_to_check, const infinint &hourshift, bool symlink_date, const fsa_scope &scope, bool isolated_mode) const |
| do not try to compare pointed to data, EA of FSA (suitable for isolated catalogue)
|
|
void | ea_set_saved_status (ea_saved_status status) |
|
ea_saved_status | ea_get_saved_status () const |
|
void | ea_attach (ea_attributs *ref) |
|
const ea_attributs * | get_ea () const |
| the returned value is the address of an existing file of the cat_inode object and shall not be deleted by the caller
|
|
void | ea_detach () const |
|
infinint | ea_get_size () const |
|
void | ea_set_offset (const infinint &pos) |
|
bool | ea_get_offset (infinint &pos) const |
|
void | ea_set_crc (const crc &val) |
|
void | ea_get_crc (const crc *&ptr) const |
| the argument is set to point to an allocated crc object owned by this "cat_inode" object, this reference stays valid while the "cat_inode" object exists and MUST NOT be deleted by the caller in any case
|
|
bool | ea_get_crc_size (infinint &val) const |
| returns true if crc is know and puts its width in argument
|
|
datetime | get_last_change () const |
|
void | set_last_change (const datetime &x_time) |
|
bool | has_last_change () const |
|
void | fsa_set_saved_status (fsa_saved_status status) |
|
fsa_saved_status | fsa_get_saved_status () const |
|
fsa_scope | fsa_get_families () const |
| gives the set of FSA family recorded for that inode
|
|
void | fsa_attach (filesystem_specific_attribute_list *ref) |
|
void | fsa_partial_attach (const fsa_scope &val) |
|
const filesystem_specific_attribute_list * | get_fsa () const |
|
void | fsa_detach () const |
|
infinint | fsa_get_size () const |
|
void | fsa_set_offset (const infinint &pos) |
|
bool | fsa_get_offset (infinint &pos) const |
|
void | fsa_set_crc (const crc &val) |
|
void | fsa_get_crc (const crc *&ptr) const |
|
bool | fsa_get_crc_size (infinint &val) const |
|
| cat_nomme (const std::string &name, saved_status arg) |
|
| cat_nomme (const smart_pointer< pile_descriptor > &pdesc, bool small, saved_status val) |
|
| cat_nomme (const cat_nomme &ref)=default |
|
| cat_nomme (cat_nomme &&ref) noexcept=default |
|
cat_nomme & | operator= (const cat_nomme &ref)=default |
|
cat_nomme & | operator= (cat_nomme &&ref)=default |
|
virtual bool | operator< (const cat_nomme &ref) const |
|
const std::string & | get_name () const |
|
void | change_name (const std::string &x) |
|
bool | same_as (const cat_nomme &ref) const |
|
| cat_entree (saved_status val) |
| setup an object when read from filesystem
|
|
| cat_entree (const smart_pointer< pile_descriptor > &pdesc, bool small, saved_status val) |
| setup an object when read from an archive More...
|
|
| cat_entree (const cat_entree &ref)=default |
|
| cat_entree (cat_entree &&ref) noexcept=default |
|
cat_entree & | operator= (const cat_entree &ref)=default |
|
cat_entree & | operator= (cat_entree &&ref)=default |
|
virtual | ~cat_entree () noexcept(false) |
| destructor
|
|
bool | operator!= (const cat_entree &ref) const |
|
bool | same_as (const cat_entree &ref) const |
| return true of the two objects would generate the same entry on filsystem More...
|
|
void | dump (const pile_descriptor &pdesc, bool small) const |
| write down the object information to a stack More...
|
|
void | specific_dump (const pile_descriptor &pdesc, bool small) const |
| this call gives an access to inherited_dump More...
|
|
virtual void | change_location (const smart_pointer< pile_descriptor > &pdesc) |
|
saved_status | get_saved_status () const |
| obtain the saved status of the object
|
|
void | set_saved_status (saved_status x) |
| modify the saved_status of the object
|
|
void | set_list_entry (const slice_layout *sly, bool fetch_ea, list_entry &ent) const |
| setup a list_entry object relative to the current cat_entree object More...
|
|