From 1ca32ca4718dad5bf1e2f381fe93b47d8159807b Mon Sep 17 00:00:00 2001 From: Dan Engelbrecht Date: Tue, 8 Apr 2025 18:57:25 +0200 Subject: scavenge builds (#352) - Improvement: `zen builds` now scavenges previous download locations for data to reduce download size, enabled by default, disable with `--enable-scavenge=false` - Bugfix: Failing to rename a file during download sometimes reported an error when it succeeded when retrying --- src/zenutil/chunkedcontent.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/zenutil/chunkedcontent.cpp') diff --git a/src/zenutil/chunkedcontent.cpp b/src/zenutil/chunkedcontent.cpp index 32ae2d94a..17b348f8d 100644 --- a/src/zenutil/chunkedcontent.cpp +++ b/src/zenutil/chunkedcontent.cpp @@ -305,7 +305,7 @@ FolderContent::UpdateState(const FolderContent& Rhs, std::vector& OutP } FolderContent -GetUpdatedContent(const FolderContent& Old, const FolderContent& New, std::vector& OutDeletedPathIndexes) +GetUpdatedContent(const FolderContent& Old, const FolderContent& New, std::vector& OutDeletedPaths) { ZEN_TRACE_CPU("FolderContent::GetUpdatedContent"); @@ -342,7 +342,7 @@ GetUpdatedContent(const FolderContent& Old, const FolderContent& New, std::vecto } else { - OutDeletedPathIndexes.push_back(Old.Paths[OldPathIndex]); + OutDeletedPaths.push_back(Old.Paths[OldPathIndex]); } } return Result; -- cgit v1.2.3