26 #ifndef FILESYSTEM_IDS_HPP
27 #define FILESYSTEM_IDS_HPP
29 #include "../my_config.h"
51 filesystem_ids(
const path & root);
61 filesystem_ids(
bool same_fs,
const path & root_fs);
63 filesystem_ids(
const filesystem_ids & ref) =
default;
64 filesystem_ids(filesystem_ids && ref) noexcept =
default;
65 filesystem_ids & operator = (
const filesystem_ids & ref) =
default;
66 filesystem_ids & operator = (filesystem_ids && ref) noexcept =
default;
67 ~filesystem_ids() =
default;
74 void change_root_fs(
const path & root);
81 void include_fs_at(
const path & chem);
93 void exclude_fs_at(
const path & chem);
97 bool is_covered(
const infinint & fs_id)
const;
100 bool is_covered(
const path & chem)
const;
103 void clear() { included.clear(); excluded.clear(); };
107 std::set<infinint> included;
108 std::set<infinint> excluded;
110 static infinint path2fs_id(
const std::string & path);
switch module to limitint (32 ou 64 bits integers) or infinint
libdar namespace encapsulate all libdar symbols
here is the definition of the path class