|
Disk ARchive
2.4.13
|
#include <mask_list.hpp>
Inherits libdar::mask.
Public Member Functions | |
| mask_list (const std::string &filename_list_st, bool case_sensit, const path &prefix, bool include) | |
| the constructor More... | |
| bool | is_covered (const std::string &expression) const |
| inherited from the mask class | |
| mask * | clone () const |
| inherited from the mask class | |
| U_I | size () const |
| routing only necessary for doing some testing | |
Public Member Functions inherited from libdar::mask | |
| virtual bool | is_covered (const path &chemin) const |
| check whether the given path is covered by the mask More... | |
the mask_list class, matches string that are present in a given file
the given file must contain one entry per line (thus no carriage return is allowed in a given entry). Note that the file listed in the file may have a relative path or an absolute path.
Definition at line 48 of file mask_list.hpp.
| libdar::mask_list::mask_list | ( | const std::string & | filename_list_st, |
| bool | case_sensit, | ||
| const path & | prefix, | ||
| bool | include | ||
| ) |
the constructor
| [in] | filename_list_st | is the path to the file listing the filename to select for the operation |
| [in] | case_sensit | whether comparison is case sensitive or not |
| [in] | prefix | add this prefix to relative paths of the list. The prefix should be either absolute, or "<ROOT>" (in case of operations on an existing archive) |
| [in] | include | whether the mask_list is used for file inclusion or file exclusion |
Referenced by clone().
1.8.6