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

Class stat

common/script/checkpoint_api.cpp:277–277  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275 mkdir(path.c_str(), 0777);
276
277 struct stat st;
278 ReturnValue->Val->Integer = (stat(path.c_str(), &st) == 0 && S_ISDIR(st.st_mode)) ? 0 : -1;
279}
280

Callers 2

ckpt_sd_mkdirsFunction · 0.70
ckpt_sd_existsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected