aboutsummaryrefslogtreecommitdiff
path: root/src/zenremotestore/include
diff options
context:
space:
mode:
authorDan Engelbrecht <[email protected]>2025-10-22 11:08:39 +0200
committerGitHub Enterprise <[email protected]>2025-10-22 11:08:39 +0200
commitab9face3992228d1bf632a79bce1240d61eb431f (patch)
treeac3100761b50f7a9d652884d2603aad5fe0da859 /src/zenremotestore/include
parentfix error log when using TryCloneFile on Mac/Linux (#597) (diff)
downloadzen-ab9face3992228d1bf632a79bce1240d61eb431f.tar.xz
zen-ab9face3992228d1bf632a79bce1240d61eb431f.zip
make validation of completed sequences in builds download optional (#596)
Diffstat (limited to 'src/zenremotestore/include')
-rw-r--r--src/zenremotestore/include/zenremotestore/builds/buildstorageoperations.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/src/zenremotestore/include/zenremotestore/builds/buildstorageoperations.h b/src/zenremotestore/include/zenremotestore/builds/buildstorageoperations.h
index 7e3903892..8b5b63ef9 100644
--- a/src/zenremotestore/include/zenremotestore/builds/buildstorageoperations.h
+++ b/src/zenremotestore/include/zenremotestore/builds/buildstorageoperations.h
@@ -197,6 +197,7 @@ public:
bool PrimeCacheOnly = false;
bool EnableOtherDownloadsScavenging = true;
bool EnableTargetFolderScavenging = true;
+ bool ValidateCompletedSequences = true;
std::vector<std::string> ExcludeFolders;
std::vector<std::string> ExcludeExtensions;
};
@@ -378,6 +379,8 @@ private:
BufferedWriteFileCache& WriteCache,
IoBuffer&& CompressedPart);
+ void StreamDecompress(const IoHash& SequenceRawHash, CompositeBuffer&& CompressedPart);
+
void WriteSequenceChunkToCache(BufferedWriteFileCache::Local& LocalWriter,
const CompositeBuffer& Chunk,
const uint32_t SequenceIndex,