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

Method read

common/script/zip_api.cpp:88–88  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

86 FILE* f;
87 explicit StdByteReader(FILE* file) : f(file) {}
88 size_t read(void* dst, size_t n) override { return f != nullptr ? fread(dst, 1, n, f) : 0; }
89 };
90
91 // Writes extracted entries under `root`, creating parent directories as it

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected