diff options
Diffstat (limited to 'zenstore/filecas.h')
| -rw-r--r-- | zenstore/filecas.h | 4 |
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); |