33 #ifdef HAVE_CLASS_GLOB 34 #include <forward_list> 42 #ifdef HAVE_CLASS_GLOB 43 std::forward_list<Glob> patterns;
55 #ifdef HAVE_CLASS_GLOB 56 return ((parent ==
nullptr) || parent->
IsEmpty()) && patterns.empty();
75 void ParseLine(
char *line) noexcept;
A path name in the native file system character set.
bool Check(Path name_fs) const noexcept
Checks whether one of the patterns in the .mpdignore file matches the specified file name.
std::unique_ptr< InputStream > InputStreamPtr
gcc_pure bool IsEmpty() const noexcept
ExcludeList(const ExcludeList &_parent)
bool Load(InputStreamPtr is)
Loads and parses a .mpdignore file.