diff options
| author | Dan Engelbrecht <[email protected]> | 2025-10-22 11:08:39 +0200 |
|---|---|---|
| committer | GitHub Enterprise <[email protected]> | 2025-10-22 11:08:39 +0200 |
| commit | ab9face3992228d1bf632a79bce1240d61eb431f (patch) | |
| tree | ac3100761b50f7a9d652884d2603aad5fe0da859 /src/zenremotestore/include | |
| parent | fix error log when using TryCloneFile on Mac/Linux (#597) (diff) | |
| download | zen-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.h | 3 |
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, |