aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPer Larsson <[email protected]>2021-08-31 15:25:09 +0200
committerPer Larsson <[email protected]>2021-08-31 15:25:09 +0200
commitb0d04a27557043037169f0b5ff66ccfb4152c534 (patch)
treee9290eb45dce63545b42083a5af2c4233c22f56c
parentAsynchronous upstream caching to Jupiter (diff)
downloadzen-b0d04a27557043037169f0b5ff66ccfb4152c534.tar.xz
zen-b0d04a27557043037169f0b5ff66ccfb4152c534.zip
Format fix.
-rw-r--r--zencore/filesystem.cpp3
-rw-r--r--zenserver/compute/apply.cpp2
-rw-r--r--zenstore/filecas.cpp2
3 files changed, 3 insertions, 4 deletions
diff --git a/zencore/filesystem.cpp b/zencore/filesystem.cpp
index 591630b75..ec3de0306 100644
--- a/zencore/filesystem.cpp
+++ b/zencore/filesystem.cpp
@@ -443,7 +443,7 @@ WriteFile(std::filesystem::path Path, const IoBuffer* const* Data, size_t Buffer
}
}
-void
+void
WriteFile(std::filesystem::path Path, IoBuffer Data)
{
const IoBuffer* const DataPtr = &Data;
@@ -451,7 +451,6 @@ WriteFile(std::filesystem::path Path, IoBuffer Data)
WriteFile(Path, &DataPtr, 1);
}
-
FileContents
ReadFile(std::filesystem::path Path)
{
diff --git a/zenserver/compute/apply.cpp b/zenserver/compute/apply.cpp
index 32088ecc2..b0d21d53a 100644
--- a/zenserver/compute/apply.cpp
+++ b/zenserver/compute/apply.cpp
@@ -879,7 +879,7 @@ HttpFunctionService::ExecAction(const WorkerDesc& Worker, CbObject Action)
{
throw std::system_error(ChunkData.ErrorCode, "Failed to read build output chunk file");
}
-
+
ZEN_ASSERT(OutputData.Data.size() == 1);
CbAttachment Attachment(SharedBuffer(ChunkData.Data[0]), Hash);
diff --git a/zenstore/filecas.cpp b/zenstore/filecas.cpp
index 7465e5182..2ae2676d3 100644
--- a/zenstore/filecas.cpp
+++ b/zenstore/filecas.cpp
@@ -99,7 +99,7 @@ FileCasStrategy::InsertChunk(IoBuffer Chunk, const IoHash& ChunkHash)
if (HRESULT hRes = PayloadFile.Create(ShardedPath.c_str(), GENERIC_READ, FILE_SHARE_READ, OPEN_EXISTING); SUCCEEDED(hRes))
{
- // If we succeeded in opening the target file then we don't need to do anything else because it already exists
+ // If we succeeded in opening the target file then we don't need to do anything else because it already exists
// and should contain the content we were about to insert
// We do need to ensure the source file goes away on close, however