MCPcopy Create free account
hub / github.com/Tiiny-AI/PowerInfer / stat

Class stat

examples/server/httplib.h:2092–2092  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2090 return _access_s(path.c_str(), 0) == 0;
2091#else
2092 struct stat st;
2093 return stat(path.c_str(), &st) >= 0 && S_ISREG(st.st_mode);
2094#endif
2095}

Callers 2

is_fileFunction · 0.70
is_dirFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected