Manager: Rename filter() -> match()
The function returns true on a pattern match, so reflect this in the name.
This commit is contained in:
+2
-2
@@ -30,8 +30,8 @@ public:
|
||||
void pull(const std::vector<std::string>& targets = {});
|
||||
void push(const std::vector<std::string>& targets = {});
|
||||
|
||||
bool filter(const std::filesystem::directory_entry& path,
|
||||
const std::vector<std::string>& patterns);
|
||||
bool match(const std::filesystem::directory_entry& path,
|
||||
const std::vector<std::string>& patterns);
|
||||
|
||||
private:
|
||||
void pullOrPush(SyncType type, const std::vector<std::string>& targets = {});
|
||||
|
||||
Reference in New Issue
Block a user