Disk ARchive
2.7.15
Full featured and portable backup and archiving tool
|
matches if string is the given constructor string or a sub directory of it More...
#include <mask.hpp>
Public Member Functions | |
exclude_dir_mask (const std::string &p, bool case_sensit) | |
the constructor to be used by libdar external programs More... | |
exclude_dir_mask (const exclude_dir_mask &ref)=default | |
exclude_dir_mask (exclude_dir_mask &&ref) noexcept=default | |
exclude_dir_mask & | operator= (const exclude_dir_mask &ref)=default |
exclude_dir_mask & | operator= (exclude_dir_mask &&ref) noexcept=default |
bool | is_covered (const std::string &expression) const override |
inherited from the mask class | |
bool | is_covered (const path &chemin) const override |
check whether the given path is covered by the mask More... | |
std::string | dump (const std::string &prefix) const override |
dump in human readable form the nature of the mask More... | |
mask * | clone () const override |
inherited from the mask class | |
Public Member Functions inherited from libdar::mask | |
mask (const mask &ref)=default | |
mask (mask &&ref) noexcept=default | |
mask & | operator= (const mask &ref)=default |
mask & | operator= (mask &&ref) noexcept=default |
Private Attributes | |
std::string | chemin |
bool | case_s |
matches if string is the given constructor string or a sub directory of it
|
inline |
|
overridevirtual |
dump in human readable form the nature of the mask
[in] | prefix | used for indentation withing the output string |
Implements libdar::mask.
|
inlineoverridevirtual |
check whether the given path is covered by the mask
[in] | chemin | is the path to check |
Reimplemented from libdar::mask.
Definition at line 473 of file mask.hpp.
References libdar::path::is_subdir_of().