Disk ARchive
2.4.5
|
matches if string is the given constructor string or a sub directory of it More...
#include <mask.hpp>
Inherits libdar::mask.
Public Member Functions | |
exclude_dir_mask (const std::string &p, bool case_sensit) | |
the constructor to be used by libdar external programs | |
bool | is_covered (const std::string &expression) const |
inherited from the mask class | |
bool | is_covered (const path &chemin) const |
check whether the given path is covered by the mask | |
mask * | clone () const |
inherited from the mask class |
matches if string is the given constructor string or a sub directory of it
Definition at line 368 of file src/libdar/mask.hpp.
libdar::exclude_dir_mask::exclude_dir_mask | ( | const std::string & | p, |
bool | case_sensit | ||
) | [inline] |
the constructor to be used by libdar external programs
[in] | p | is the path to compare with |
[in] | case_sensit | whether the mask is case sensitive or not |
Definition at line 375 of file src/libdar/mask.hpp.
Referenced by clone().
bool libdar::exclude_dir_mask::is_covered | ( | const path & | chemin | ) | const [inline, virtual] |
check whether the given path is covered by the mask
[in] | chemin | is the path to check |
Reimplemented from libdar::mask.
Definition at line 379 of file src/libdar/mask.hpp.
References libdar::path::is_subdir_of().