regex for additional files copying
This commit is contained in:
parent
eb85b71651
commit
03e7f29d84
10 changed files with 146 additions and 45 deletions
|
@ -11,6 +11,7 @@
|
|||
#include <functional>
|
||||
#include <cctype>
|
||||
#include <sstream>
|
||||
#include <regex>
|
||||
|
||||
#include "logger/logger.h"
|
||||
|
||||
|
@ -38,6 +39,7 @@ public:
|
|||
Type getType() const;
|
||||
Action getAction() const;
|
||||
unsigned int getThreads() const;
|
||||
bool matchNonMusic(const std::string& fileName) const;
|
||||
|
||||
bool readConfigFile();
|
||||
void readConfigLine(const std::string& line);
|
||||
|
@ -63,4 +65,5 @@ private:
|
|||
std::optional<Logger::Severity> logLevel;
|
||||
std::optional<std::string> configPath;
|
||||
std::optional<unsigned int> threads;
|
||||
std::optional<std::regex> nonMusic;
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue