MCPcopy Create free account
hub / github.com/Singular/Singular / MakeDir

Function MakeDir

ppcc/adlib/os.cc:458–462  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

456}
457
458bool MakeDir(const char *path, bool recursive) {
459 if (!recursive)
460 return mkdir(path, 0777) >= 0;
461 return MakeDirRec(S(path));
462}
463
464bool MakeDir(Str *path, bool recursive) {
465 if (!recursive)

Callers

nothing calls this directly

Calls 3

MakeDirRecFunction · 0.85
c_strMethod · 0.80
SFunction · 0.70

Tested by

no test coverage detected