aboutsummaryrefslogtreecommitdiff
path: root/src/zenremotestore/builds/buildstorageoperations.cpp
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-12-05 10:42:44 +0100
committerGitHub Enterprise <[email protected]>2025-12-05 10:42:44 +0100
commitf0dc2194ac120afaa9d0c0f393ae8e4548cd9150 (patch)
treecb5fb9ee0368ca07dae258b5bdefe127333f59e3 /src/zenremotestore/builds/buildstorageoperations.cpp
parentbatch op not in destructor (#676) (diff)
downloadzen-f0dc2194ac120afaa9d0c0f393ae8e4548cd9150.tar.xz
zen-f0dc2194ac120afaa9d0c0f393ae8e4548cd9150.zip
exists must be called before equivalent (#678)
Diffstat (limited to 'src/zenremotestore/builds/buildstorageoperations.cpp')
-rw-r--r--src/zenremotestore/builds/buildstorageoperations.cpp2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/zenremotestore/builds/buildstorageoperations.cpp b/src/zenremotestore/builds/buildstorageoperations.cpp
index 8dd85d439..e70467999 100644
--- a/src/zenremotestore/builds/buildstorageoperations.cpp
+++ b/src/zenremotestore/builds/buildstorageoperations.cpp
@@ -2711,7 +2711,7 @@ BuildsOperationUpdateFolder::FindScavengeSources()
try
{
BuildsDownloadInfo Info = ReadDownloadedInfoFile(EntryPath);
- if (!Info.LocalPath.empty())
+ if (!Info.LocalPath.empty() || !IsDir(Info.LocalPath))
{
if (!std::filesystem::equivalent(Info.LocalPath, m_Path))
{