MCPcopy Create free account
hub / github.com/antmachineintelligence/mtgbmcode / Exists

Method Exists

src/io/file_io.cpp:38–41  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

36 }
37
38 bool Exists() const {
39 LocalFile file(filename_, "rb");
40 return file.Init();
41 }
42
43 size_t Read(void* buffer, size_t bytes) const {
44 return fread(buffer, 1, bytes, file_);

Callers

nothing calls this directly

Calls 1

InitMethod · 0.45

Tested by

no test coverage detected