From 4da262a8fe98691c3db38aac08b4b8d2e83889b5 Mon Sep 17 00:00:00 2001 From: Riyyi Date: Mon, 24 Jan 2022 00:38:40 +0100 Subject: [PATCH] Manager: Add working directory getter --- src/dotfile.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/dotfile.h b/src/dotfile.h index b4c8b90..03de1f4 100644 --- a/src/dotfile.h +++ b/src/dotfile.h @@ -49,6 +49,8 @@ public: void setSystemDirectories(const std::vector& systemDirectories) { m_systemDirectories = systemDirectories; } void setExcludePaths(const std::vector& excludePaths) { m_excludePaths = excludePaths; } + const std::filesystem::path& workingDirectory() const { return m_workingDirectory; } + private: void pullOrPush(SyncType type, const std::vector& targets = {}); void sync(SyncType type,