MCPcopy Create free account
hub / github.com/SimHacker/micropolis / stat

Class stat

MicropolisCore/src/MicropolisEngine/src/main.cpp:94–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

92static bool testDirectory(const std::string& dir, const char *envVar)
93{
94 struct stat statbuf;
95
96 if (stat(dir.c_str(), &statbuf) == 0 && S_ISDIR(statbuf.st_mode)) {
97

Callers 1

testDirectoryFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected