MCPcopy Create free account
hub / github.com/catboost/catboost / mkpath

Function mkpath

util/folder/dirut.cpp:432–434  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

430}
431
432int mkpath(char* path, int mode) {
433 return NFs::MakeDirectoryRecursive(path, NFs::EFilePermission(mode)) ? 0 : -1;
434}
435
436// Implementation of realpath in FreeBSD (version 9.0 and less) and GetFullPathName in Windows
437// did not require last component of the file name to exist (other implementations will fail

Callers

nothing calls this directly

Calls 2

MakeDirectoryRecursiveFunction · 0.85
EFilePermissionEnum · 0.85

Tested by

no test coverage detected