MCPcopy Create free account
hub / github.com/antirez/llama.cpp-deepseek-v4-flash / file_exists

Function file_exists

tools/completion/completion.cpp:54–57  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

52}
53
54static bool file_exists(const std::string & path) {
55 std::ifstream f(path.c_str());
56 return f.good();
57}
58
59static bool file_is_empty(const std::string & path) {
60 std::ifstream f;

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected