Browse Source

Manager: Add working directory getter

master
Riyyi 3 years ago
parent
commit
4da262a8fe
  1. 2
      src/dotfile.h

2
src/dotfile.h

@ -49,6 +49,8 @@ public:
void setSystemDirectories(const std::vector<std::filesystem::path>& systemDirectories) { m_systemDirectories = systemDirectories; }
void setExcludePaths(const std::vector<ExcludePath>& excludePaths) { m_excludePaths = excludePaths; }
const std::filesystem::path& workingDirectory() const { return m_workingDirectory; }
private:
void pullOrPush(SyncType type, const std::vector<std::string>& targets = {});
void sync(SyncType type,

Loading…
Cancel
Save