MCPcopy Create free account
hub / github.com/BernardoGiordano/Checkpoint / writeFile

Method writeFile

switch/source/transfer.cpp:236–240  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

234 return output != nullptr;
235 }
236 bool writeFile(const void* data, size_t n) override
237 {
238 fwrite(data, 1, n, output);
239 return true;
240 }
241 void endFile() override
242 {
243 if (output != nullptr) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected