Manager: Change match() path argument type
Changed the path argument from directory_iterator to string, as nothing in this function relied on the functionality.
This commit is contained in:
+1
-2
@@ -30,8 +30,7 @@ public:
|
||||
void pull(const std::vector<std::string>& targets = {});
|
||||
void push(const std::vector<std::string>& targets = {});
|
||||
|
||||
bool match(const std::filesystem::directory_entry& path,
|
||||
const std::vector<std::string>& patterns);
|
||||
bool match(const std::string& 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