diff options
| author | Dan Engelbrecht <[email protected]> | 2025-04-08 18:57:25 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-04-08 18:57:25 +0200 |
| commit | 1ca32ca4718dad5bf1e2f381fe93b47d8159807b (patch) | |
| tree | 8fa6a00132de012b7d28e8f17835f1cd9d1ce8f1 /src/zenutil/chunkedcontent.cpp | |
| parent | 5.6.4-pre0 (diff) | |
| download | zen-1ca32ca4718dad5bf1e2f381fe93b47d8159807b.tar.xz zen-1ca32ca4718dad5bf1e2f381fe93b47d8159807b.zip | |
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
Diffstat (limited to 'src/zenutil/chunkedcontent.cpp')
| -rw-r--r-- | src/zenutil/chunkedcontent.cpp | 4 |
1 files changed, 2 insertions, 2 deletions
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<uint32_t>& OutP } FolderContent -GetUpdatedContent(const FolderContent& Old, const FolderContent& New, std::vector<std::filesystem::path>& OutDeletedPathIndexes) +GetUpdatedContent(const FolderContent& Old, const FolderContent& New, std::vector<std::filesystem::path>& 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; |