MCPcopy Create free account
hub / github.com/RunanywhereAI/RCLI / stat

Class stat

src/api/rcli_api.cpp:2957–2957  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2955// Recursively create directories (like mkdir -p)
2956static bool mkdirs(const std::string& path) {
2957 struct stat st;
2958 if (stat(path.c_str(), &st) == 0) return S_ISDIR(st.st_mode);
2959 // Recurse to create parent
2960 auto slash = path.rfind('/');

Callers 1

mkdirsFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected