MCPcopy Create free account
hub / github.com/AGWA/git-crypt / stat

Class stat

util-unix.cpp:108–108  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

106 while (slash != std::string::npos) {
107 std::string prefix(path.substr(0, slash));
108 struct stat status;
109 if (stat(prefix.c_str(), &status) == 0) {
110 // already exists - make sure it's a directory
111 if (!S_ISDIR(status.st_mode)) {

Callers 1

mkdir_parentFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected