Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BernardoGiordano/Checkpoint
/ stat
Class
stat
common/script/checkpoint_api.cpp:278–278 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
276
mkdir(path.c_str(), 0777);
277
278
struct stat st;
279
ReturnValue->Val->Integer = (stat(path.c_str(), &st) == 0 && S_ISDIR(st.st_mode)) ? 0 : -1;
280
}
281
Callers
2
ckpt_sd_mkdirs
Function · 0.70
ckpt_sd_exists
Function · 0.70
Calls
no outgoing calls
Tested by
no test coverage detected