aboutsummaryrefslogtreecommitdiff
path: root/zenstore/filecas.h
diff options
context:
space:
mode:
Diffstat (limited to 'zenstore/filecas.h')
-rw-r--r--zenstore/filecas.h4
1 files changed, 3 insertions, 1 deletions
diff --git a/zenstore/filecas.h b/zenstore/filecas.h
index f14e5d057..de79b8b81 100644
--- a/zenstore/filecas.h
+++ b/zenstore/filecas.h
@@ -34,7 +34,9 @@ struct FileCasStrategy final : public GcStorage
void Initialize(const std::filesystem::path& RootDirectory, bool IsNewStore);
CasStore::InsertResult InsertChunk(const void* ChunkData, size_t ChunkSize, const IoHash& ChunkHash);
- CasStore::InsertResult InsertChunk(IoBuffer Chunk, const IoHash& ChunkHash);
+ CasStore::InsertResult InsertChunk(IoBuffer Chunk,
+ const IoHash& ChunkHash,
+ CasStore::InsertMode Mode = CasStore::InsertMode::kMayBeMovedInPlace);
IoBuffer FindChunk(const IoHash& ChunkHash);
bool HaveChunk(const IoHash& ChunkHash);
void FilterChunks(HashKeySet& InOutChunks);