MPD  0.20.23
Public Member Functions
ExcludeList Class Reference

#include <ExcludeList.hxx>

Public Member Functions

 ExcludeList ()
 
 ExcludeList (const ExcludeList &_parent)
 
gcc_pure bool IsEmpty () const noexcept
 
bool Load (InputStreamPtr is)
 Loads and parses a .mpdignore file. More...
 
bool Check (Path name_fs) const noexcept
 Checks whether one of the patterns in the .mpdignore file matches the specified file name. More...
 

Detailed Description

Definition at line 39 of file ExcludeList.hxx.

Constructor & Destructor Documentation

◆ ExcludeList() [1/2]

ExcludeList::ExcludeList ( )
inline

Definition at line 47 of file ExcludeList.hxx.

◆ ExcludeList() [2/2]

ExcludeList::ExcludeList ( const ExcludeList _parent)
inline

Definition at line 50 of file ExcludeList.hxx.

Member Function Documentation

◆ Check()

bool ExcludeList::Check ( Path  name_fs) const
noexcept

Checks whether one of the patterns in the .mpdignore file matches the specified file name.

◆ IsEmpty()

gcc_pure bool ExcludeList::IsEmpty ( ) const
inlinenoexcept

Definition at line 54 of file ExcludeList.hxx.

◆ Load()

bool ExcludeList::Load ( InputStreamPtr  is)

Loads and parses a .mpdignore file.


The documentation for this class was generated from the following file: