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

Method read

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected