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

Class stat

common/common.cpp:1138–1138  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1136#else
1137 // if the path already exists, check whether it's a directory
1138 struct stat info;
1139 if (stat(path.c_str(), &info) == 0) {
1140 return S_ISDIR(info.st_mode);
1141 }

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected