diff options
| author | Stefan Boberg <[email protected]> | 2021-10-15 11:25:16 +0200 |
|---|---|---|
| committer | Stefan Boberg <[email protected]> | 2021-10-15 11:25:35 +0200 |
| commit | 01de07426c9d923c8c0b4ef7272b5b822399c4a7 (patch) | |
| tree | a6ea0eda7316864ab63721bd10f642ad5ad57da8 /zenstore | |
| parent | httpasio: implemented proper handling of query strings (diff) | |
| download | zen-01de07426c9d923c8c0b4ef7272b5b822399c4a7.tar.xz zen-01de07426c9d923c8c0b4ef7272b5b822399c4a7.zip | |
clang-format
Diffstat (limited to 'zenstore')
| -rw-r--r-- | zenstore/basicfile.cpp | 2 | ||||
| -rw-r--r-- | zenstore/filecas.cpp | 8 |
2 files changed, 5 insertions, 5 deletions
diff --git a/zenstore/basicfile.cpp b/zenstore/basicfile.cpp index cfc77e2a5..bbb9e1036 100644 --- a/zenstore/basicfile.cpp +++ b/zenstore/basicfile.cpp @@ -143,7 +143,7 @@ BasicFile::StreamByteRange(uint64_t FileOffset, uint64_t Size, std::function<voi } } -void +void BasicFile::Write(MemoryView Data, uint64_t FileOffset, std::error_code& Ec) { Write(Data.GetData(), Data.GetSize(), FileOffset, Ec); diff --git a/zenstore/filecas.cpp b/zenstore/filecas.cpp index f69ed6bdb..f928f5c21 100644 --- a/zenstore/filecas.cpp +++ b/zenstore/filecas.cpp @@ -137,10 +137,10 @@ FileCasStrategy::InsertChunk(IoBuffer Chunk, const IoHash& ChunkHash) } else if (hRes == HRESULT_FROM_WIN32(ERROR_SHARING_VIOLATION)) { - // Sharing violation, likely because we are trying to open a file - // which has been renamed on another thread, and the file handle - // used to rename it is still open. We handle this case below - // instead of here + // Sharing violation, likely because we are trying to open a file + // which has been renamed on another thread, and the file handle + // used to rename it is still open. We handle this case below + // instead of here } else { |