keep trace of hard links when reading the filesystem
More...
#include <filesystem_hard_link_read.hpp>
|
bool | ignore_if_symlink (const std::string &full_path) |
|
|
std::map< node, couple > | corres_read |
|
infinint | etiquette_counter |
|
bool | furtive_read_mode |
|
fsa_scope | sc |
|
bool | ask_before_zeroing_neg_dates |
|
std::set< std::string > | ignored_symlinks |
|
keep trace of hard links when reading the filesystem
Definition at line 57 of file filesystem_hard_link_read.hpp.
◆ 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.
The documentation for this class was generated from the following file: