|
| data_dir (const std::string &name) |
|
| data_dir (generic_file &f, unsigned char db_version) |
|
| data_dir (const data_tree &ref) |
|
| data_dir (const data_dir &ref) |
|
| data_dir (data_dir &&ref)=default |
|
data_dir & | operator= (const data_dir &ref) |
|
data_dir & | operator= (data_dir &&ref) noexcept=default |
|
virtual void | dump (generic_file &f) const override |
|
void | add (const cat_inode *entry, const archive_num &archive) |
|
void | add (const cat_detruit *entry, const archive_num &archive) |
|
const data_tree * | read_child (const std::string &name) const |
|
void | read_all_children (std::vector< std::string > &fils) const |
|
void | finalize_except_self (const archive_num &archive, const datetime &deleted_date, const archive_num &ignore_archives_greater_or_equal) |
|
virtual bool | check_order (user_interaction &dialog, const path ¤t_path, bool &initial_warn) const override |
| check date order between archives withing the database ; throw Erange if problem found with date order
|
|
virtual void | finalize (const archive_num &archive, const datetime &deleted_date, const archive_num &ignore_archives_greater_or_equal) override |
| add deleted entry if no object of the current archive exist and the entry of the previous archive is already present. More...
|
|
virtual bool | remove_all_from (const archive_num &archive_to_remove, const archive_num &last_archive) override |
| return true if the corresponding file is no more located in any archive (thus, the object is no more usefull in the base)
|
|
void | show (database_listing_show_files_callback callback, void *tag, archive_num num, std::string marge="") const |
| list the most recent files owned by that archive (or by any archive if num == 0)
|
|
virtual void | apply_permutation (archive_num src, archive_num dst) override |
|
virtual void | skip_out (archive_num num) override |
| decrement archive numbers above num
|
|
virtual void | compute_most_recent_stats (std::deque< infinint > &data, std::deque< infinint > &ea, std::deque< infinint > &total_data, std::deque< infinint > &total_ea) const override |
|
virtual char | obj_signature () const override |
|
virtual bool | fix_corruption () override |
|
bool | data_tree_find (path chemin, const data_tree *&ptr) const |
| lookup routine to find a pointer to the dat_tree object corresponding to the given path More...
|
|
void | data_tree_update_with (const cat_directory *dir, archive_num archive) |
| add a directory to the dat_dir
|
|
| data_tree (const std::string &name) |
|
| data_tree (generic_file &f, unsigned char db_version) |
|
| data_tree (const data_tree &ref)=default |
|
| data_tree (data_tree &&ref) noexcept=default |
|
data_tree & | operator= (const data_tree &ref)=default |
|
data_tree & | operator= (data_tree &&ref) noexcept=default |
|
std::string | get_name () const |
|
void | set_name (const std::string &name) |
|
db_lookup | get_data (std::set< archive_num > &archive, const datetime &date, bool even_when_removed) const |
|
db_lookup | get_EA (archive_num &archive, const datetime &date, bool even_when_removed) const |
| if EA has been saved alone later, returns in which version for the state of the file at the given date.
|
|
bool | read_data (archive_num num, datetime &val, db_etat &present) const |
| return the date of file's last modification date within the give archive and whether the file has been saved or deleted
|
|
bool | read_EA (archive_num num, datetime &val, db_etat &present) const |
| return the date of last inode change and whether the EA has been saved or deleted
|
|
void | set_data (const archive_num &archive, const datetime &date, db_etat present) |
|
void | set_data (const archive_num &archive, const datetime &date, db_etat present, const crc *base, const crc *result) |
|
void | set_EA (const archive_num &archive, const datetime &date, db_etat present) |
|
void | listing (database_listing_get_version_callback callback, void *tag) const |
| list where is saved this file
|
|
the data_dir class inherits from data_tree and holds the directory tree's parent relationship
Definition at line 52 of file data_dir.hpp.