summaryrefslogtreecommitdiff
path: root/src/filecache.cpp
diff options
context:
space:
mode:
authorouwou <26526779+ouwou@users.noreply.github.com>2025-06-03 23:18:32 -0400
committerouwou <26526779+ouwou@users.noreply.github.com>2025-06-03 23:18:32 -0400
commit082e910fb6570e2e7972d16b8728f9400077ac11 (patch)
treee932aab83e5f2c7101ac093ef2e9a0fd9a83afc6 /src/filecache.cpp
parent4c79ae6a69ee42cfa4892aae3e105b404b9a29c1 (diff)
downloadabaddon-portaudio-082e910fb6570e2e7972d16b8728f9400077ac11.tar.gz
abaddon-portaudio-082e910fb6570e2e7972d16b8728f9400077ac11.zip
fix image pasting
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());