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

Method close

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

Source from the content-addressed store, hash-verified

74 }
75 size_t read(void* dst, size_t n) override { return f != nullptr ? fread(dst, 1, n, f) : 0; }
76 void close() override
77 {
78 if (f != nullptr) {
79 fclose(f);
80 f = nullptr;
81 }
82 }
83 };
84
85 struct StdByteReader : TransferProto::ByteReader {

Callers 1

sendZipStreamFunction · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected