29 #include "../my_config.h" 44 extern void filtre_restore(
const std::shared_ptr<user_interaction> & dialog,
47 const catalogue & cat,
48 const path & fs_racine,
49 bool fs_warn_overwrite,
52 bool display_treated_only_dir,
58 bool warn_remove_no_match,
61 const crit_action & x_overwrite,
62 archive_options_extract::t_dirty dirty,
68 extern void filtre_sauvegarde(
const std::shared_ptr<user_interaction> & dialog,
71 const pile_descriptor & pdesc,
73 const catalogue & ref,
74 const path & fs_racine,
77 bool display_treated_only_dir,
79 bool display_finished,
83 const mask &compr_mask,
84 const infinint & min_compr_size,
86 const infinint & hourshift,
88 bool furtive_read_mode,
92 bool cache_directory_tagging,
94 const infinint & repeat_count,
95 const infinint & repeat_byte,
96 const infinint & fixed_date,
97 const infinint & sparse_file_min_size,
98 const std::string & backup_hook_file_execute,
99 const mask & backup_hook_file_mask,
102 const std::string & exclude_by_ea,
103 bool delta_signature,
104 const infinint & delta_sig_min_size,
105 const mask & delta_mask,
107 bool auto_zeroing_neg_dates,
108 const std::set<std::string> & ignored_symlinks,
111 extern void filtre_difference(
const std::shared_ptr<user_interaction> & dialog,
114 const catalogue & cat,
115 const path & fs_racine,
117 bool display_treated,
118 bool display_treated_only_dir,
119 bool display_skipped,
121 const mask & ea_mask,
123 bool furtive_read_mode,
125 const infinint & hourshift,
126 bool compare_symlink_date,
130 extern void filtre_test(
const std::shared_ptr<user_interaction> & dialog,
133 const catalogue & cat,
135 bool display_treated,
136 bool display_treated_only_dir,
137 bool display_skipped,
141 extern void filtre_merge(
const std::shared_ptr<user_interaction> & dialog,
143 const mask & subtree,
144 const pile_descriptor & pdesc,
146 const catalogue * ref1,
147 const catalogue * ref2,
149 bool display_treated,
150 bool display_treated_only_dir,
151 bool display_skipped,
154 const mask & ea_mask,
155 const mask & compr_mask,
156 const infinint & min_compr_size,
157 bool keep_compressed,
158 const crit_action & overwrite,
160 bool decremental_mode,
161 const infinint & sparse_file_min_size,
163 bool delta_signature,
164 bool build_delta_sig,
165 const infinint & delta_sig_min_size,
166 const mask & delta_mask);
173 const catalogue * ref1,
174 const catalogue * ref2,
176 bool decremental_mode,
178 const crit_action* & overwrite,
180 thread_cancellation & thr_cancel);
186 const mask & subtree,
188 const catalogue * ref1,
189 const catalogue * ref2,
191 bool display_treated,
192 bool display_skipped,
196 bool decremental_mode,
198 const crit_action* & overwrite,
200 thread_cancellation & thr_cancel);
207 const pile_descriptor & pdesc,
210 bool display_treated,
211 bool display_treated_only_dir,
212 const mask & compr_mask,
213 const infinint & min_compr_size,
214 bool keep_compressed,
215 const infinint & sparse_file_min_size,
216 bool delta_signature,
217 bool build_delta_sig,
218 const infinint & delta_sig_min_size,
219 const mask & delta_mask,
221 thread_cancellation & thr_cancel,
225 void filtre_sequentially_read_all_catalogue(catalogue & cat,
226 const std::shared_ptr<user_interaction> & dialog,
comparison_fields
how to consider file change during comparison and incremental backup
void filtre_merge_step1(const std::shared_ptr< user_interaction > &dialog, const mask &filtre, const mask &subtree, catalogue &cat, const catalogue *ref1, const catalogue *ref2, bool info_details, bool display_treated, bool display_skipped, statistics &st, bool make_empty_dir, bool warn_overwrite, bool decremental_mode, crit_action *&decr, const crit_action *&overwrite, bool &abort, thread_cancellation &thr_cancel)
builds a catalogue from two refs with the given policy and filters
class pile definition. Used to manage a stack of generic_file objects
void filtre_restore(const std::shared_ptr< user_interaction > &dialog, const mask &filtre, const mask &subtree, const catalogue &cat, const path &fs_racine, bool fs_warn_overwrite, bool info_details, bool display_treated, bool display_treated_only_dir, bool display_skipped, statistics &st, const mask &ea_mask, bool flat, comparison_fields what_to_check, bool warn_remove_no_match, bool empty, bool empty_dir, const crit_action &x_overwrite, archive_options_extract::t_dirty dirty, bool only_deleted, bool not_deleted, const fsa_scope &scope)
void filtre_merge_step0(const std::shared_ptr< user_interaction > &dialog, const catalogue *ref1, const catalogue *ref2, statistics &st, bool decremental_mode, crit_action *&decr, const crit_action *&overwrite, bool &abort, thread_cancellation &thr_cancel)
initialize variables used for merging in step1 and step2
here is the definition of the path classthe path class handle path and provide several operation on t...
class handling access to the data summary of treated files after and during each operation ...
to be able to cancel libdar operation while running in a given thread.
void filtre_merge_step2(const std::shared_ptr< user_interaction > &dialog, const pile_descriptor &pdesc, catalogue &cat, bool info_details, bool display_treated, bool display_treated_only_dir, const mask &compr_mask, const infinint &min_compr_size, bool keep_compressed, const infinint &sparse_file_min_size, bool delta_signature, bool build_delta_sig, const infinint &delta_sig_min_size, const mask &delta_mask, bool &abort, thread_cancellation &thr_cancel, bool repair_mode)
copies data of "cat" catalogue to the pdesc of a brand new archive
std::set< fsa_family > fsa_scope
set of fsa families
here lies a collection of mask classes
modified_data_detection
how to detect data has changed when some fields
this file contains a set of classes used to transmit options to archive operation ...
libdar namespace encapsulate all libdar symbols
here is defined the classe used to manage catalogue of archives
bool nodump() noexcept
returns whether nodump flag support has been activated at compilation time