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

Method writeFile

switch/source/transfer.cpp:239–243  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected