MPD: ExcludeList Class Reference

MPD 0.20.18

Public Member Functions
ExcludeList Class Reference

`#include <ExcludeList.hxx>`

## Public Member Functions
| ExcludeList ()
| ExcludeList (const ExcludeList &_parent)
gcc_pure bool | IsEmpty () const noexcept
bool | LoadFile (Path path_fs) noexcept
| 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 38 of file ExcludeList.hxx.

## Constructor & Destructor Documentation

## ◆ ExcludeList() [1/2]

ExcludeList::ExcludeList | ( |  | ) |
| inline

Definition at line 46 of file ExcludeList.hxx.

## ◆ ExcludeList() [2/2]

ExcludeList::ExcludeList | ( | const ExcludeList & | _parent | ) |
| inline

Definition at line 49 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 53 of file ExcludeList.hxx.

## ◆ LoadFile()

bool ExcludeList::LoadFile | ( | Path | path_fs | ) |
| noexcept

Loads and parses a .mpdignore file.

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

- db/update/ExcludeList.hxx