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

Method close

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

Source from the content-addressed store, hash-verified

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) {
265 fclose(input);
266 input = nullptr;
267 }
268 }
269 };
270
271 Server::HttpResponse handleInfo(const std::string&, const std::string&)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected