diff options
| author | Dan Engelbrecht <[email protected]> | 2025-12-05 10:42:44 +0100 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-12-05 10:42:44 +0100 |
| commit | f0dc2194ac120afaa9d0c0f393ae8e4548cd9150 (patch) | |
| tree | cb5fb9ee0368ca07dae258b5bdefe127333f59e3 | |
| parent | batch op not in destructor (#676) (diff) | |
| download | zen-f0dc2194ac120afaa9d0c0f393ae8e4548cd9150.tar.xz zen-f0dc2194ac120afaa9d0c0f393ae8e4548cd9150.zip | |
exists must be called before equivalent (#678)
| -rw-r--r-- | CHANGELOG.md | 1 | ||||
| -rw-r--r-- | src/zenremotestore/builds/buildstorageoperations.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/CHANGELOG.md b/CHANGELOG.md index 697e388f8..1742903a6 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,5 +1,6 @@ ## - Improvement: Refactored cache batch fetch operations to not do complex execution in destructor of PutBatch and GetBatch classes +- Bugfix: Fixed warning due to calling std::filesystem::equivalent on a non-existing path ## 5.7.13 - Feature: Added `--append` option to `zen builds download` 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)) { |