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

Method read

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

Source from the content-addressed store, hash-verified

259 return input != nullptr;
260 }
261 size_t read(void* dst, size_t n) override { return input != nullptr ? fread(dst, 1, n, input) : 0; }
262 void close() override
263 {
264 if (input != nullptr) {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected