keep trace of hard links when reading the filesystem
More...
#include <filesystem_hard_link_read.hpp>
keep trace of hard links when reading the filesystem
Definition at line 57 of file filesystem_hard_link_read.hpp.
◆ filesystem_hard_link_read()
libdar::filesystem_hard_link_read::filesystem_hard_link_read |
( |
const std::shared_ptr< user_interaction > & |
dialog, |
|
|
bool |
x_furtive_read_mode, |
|
|
const fsa_scope & |
scope |
|
) |
| |
|
inline |
◆ corres_reset()
void libdar::filesystem_hard_link_read::corres_reset |
( |
| ) |
|
|
inlineprotected |
reset the whole list of hard linked inodes (hard linked inode stay alive but are no more referenced by the current object)
Definition at line 97 of file filesystem_hard_link_read.hpp.
◆ get_ask_before_zeroing_neg_dates()
bool libdar::filesystem_hard_link_read::get_ask_before_zeroing_neg_dates |
( |
| ) |
const |
|
inlineprotected |
◆ get_fsa_scope()
const fsa_scope libdar::filesystem_hard_link_read::get_fsa_scope |
( |
| ) |
const |
|
inline |
◆ get_last_etoile_ref()
const infinint & libdar::filesystem_hard_link_read::get_last_etoile_ref |
( |
| ) |
const |
|
inline |
◆ ignore_if_symlink()
bool libdar::filesystem_hard_link_read::ignore_if_symlink |
( |
const std::string & |
full_path | ) |
|
|
inlineprivate |
◆ make_read_entree()
cat_nomme * libdar::filesystem_hard_link_read::make_read_entree |
( |
const path & |
lieu, |
|
|
const std::string & |
name, |
|
|
bool |
see_hard_link, |
|
|
const mask & |
ea_mask |
|
) |
| |
|
protected |
create and return a libdar object corresponding to one pointed to by its path during this operation, hard linked inode are recorded in a list to be easily pointed to by a new reference to it.
- Parameters
-
lieu | path of the file to read |
name | name of the file to read |
see_hard_link | whether we want to detect hard_link and eventually return a cat_mirage object (not necessary when diffing an archive with filesystem) |
ea_mask | which EA to consider when creating the object |
◆ set_ignored_symlinks_list()
void libdar::filesystem_hard_link_read::set_ignored_symlinks_list |
( |
const std::set< std::string > & |
x_ignored_symlinks | ) |
|
|
inline |
let the user define which file to not consider as symlinks
- Note
- argument is a list of full paths. No mask or special character is taken into account
Definition at line 91 of file filesystem_hard_link_read.hpp.
◆ zeroing_negative_dates_without_asking()
void libdar::filesystem_hard_link_read::zeroing_negative_dates_without_asking |
( |
| ) |
|
|
inline |
◆ ask_before_zeroing_neg_dates
bool libdar::filesystem_hard_link_read::ask_before_zeroing_neg_dates |
|
private |
◆ corres_read
std::map<node, couple> libdar::filesystem_hard_link_read::corres_read |
|
private |
◆ etiquette_counter
infinint libdar::filesystem_hard_link_read::etiquette_counter |
|
private |
◆ furtive_read_mode
bool libdar::filesystem_hard_link_read::furtive_read_mode |
|
private |
◆ ignored_symlinks
std::set<std::string> libdar::filesystem_hard_link_read::ignored_symlinks |
|
private |
◆ sc
fsa_scope libdar::filesystem_hard_link_read::sc |
|
private |
The documentation for this class was generated from the following file: