diff options
| author | Stefan Boberg <[email protected]> | 2021-08-11 12:09:34 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-08-11 12:09:52 +0200 |
| commit | f84f5d9c1ca60c39cb27c806900d6a99727650d3 (patch) | |
| tree | ac7b7b8337456a57175b5750c13424464bfd5fbd /zenstore/filecas.cpp | |
| parent | trivial: Updated comment (diff) | |
| download | zen-f84f5d9c1ca60c39cb27c806900d6a99727650d3.tar.xz zen-f84f5d9c1ca60c39cb27c806900d6a99727650d3.zip | |
Implemented Flush() operation for CID/CAS store interfaces
Diffstat (limited to 'zenstore/filecas.cpp')
| -rw-r--r-- | zenstore/filecas.cpp | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/zenstore/filecas.cpp b/zenstore/filecas.cpp index 2972fbca6..737d3e517 100644 --- a/zenstore/filecas.cpp +++ b/zenstore/filecas.cpp @@ -279,6 +279,17 @@ FileCasStrategy::FindChunk(const IoHash& ChunkHash) return Chunk; } +void +FileCasStrategy::Flush() +{ + // Since we don't keep files open after writing there's nothing specific + // to flush here. + // + // Depending on what semantics we want Flush() to provide, it could be + // argued that this should just flush the volume which we are using to + // store the CAS files on here? +} + /** * Straightforward file-per-chunk CAS store implementation */ |