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

Class stat

common/script/scriptcatalog.cpp:56–56  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

54 // Only files directly in the directory count; subfolders are assets.
55 const std::string path = root.dir + "/" + name;
56 struct stat st;
57 if (stat(path.c_str(), &st) != 0 || !S_ISREG(st.st_mode)) {
58 continue;
59 }

Callers 1

scanSectionFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected