summaryrefslogtreecommitdiff
path: root/src/filecache.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/filecache.cpp')
-rw-r--r--src/filecache.cpp3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/filecache.cpp b/src/filecache.cpp
index 66787e1..94b952d 100644
--- a/src/filecache.cpp
+++ b/src/filecache.cpp
@@ -40,6 +40,9 @@ void Cache::ClearCache() {
for (const auto &path : std::filesystem::directory_iterator(m_tmp_path))
std::filesystem::remove_all(path);
}
+std::filesystem::path Cache::GetCachePath() const {
+ return m_tmp_path;
+}
void Cache::RespondFromPath(const std::filesystem::path &path, const callback_type &cb) {
cb(path.string());