Manager: Add Dotfile adding function
This commit is contained in:
@@ -29,9 +29,11 @@ public:
|
||||
std::string path;
|
||||
};
|
||||
|
||||
static void add(const std::vector<std::string>& targets = {});
|
||||
static void list(const std::vector<std::string>& targets = {});
|
||||
|
||||
static void setWorkingDirectory(std::filesystem::path directory) { s_workingDirectory = directory; }
|
||||
static void setSystemDirectories(const std::vector<std::filesystem::path>& systemDirectories) { s_systemDirectories = systemDirectories; }
|
||||
static void setExcludePaths(const std::vector<ExcludePath>& excludePaths) { s_excludePaths = excludePaths; }
|
||||
|
||||
private:
|
||||
@@ -39,6 +41,7 @@ private:
|
||||
static bool include(const std::filesystem::path& path, const std::vector<std::string>& targets);
|
||||
|
||||
static std::vector<ExcludePath> s_excludePaths;
|
||||
static std::vector<std::filesystem::path> s_systemDirectories;
|
||||
static std::filesystem::path s_workingDirectory;
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user