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

Function MakeDirectoryRecursive

util/system/fs.h:76–78  ·  view source on GitHub ↗

Creates directory and all non-existings parents @param[in] path Path to be created @param[in] mode Access permissions field; NOTE: ignored on win @returns true if target path created or exists (and directory)

Source from the content-addressed store, hash-verified

74 /// @param[in] mode Access permissions field; NOTE: ignored on win
75 /// @returns true if target path created or exists (and directory)
76 inline bool MakeDirectoryRecursive(const TString& path, EFilePermissions mode) {
77 return MakeDirectoryRecursive(path, mode, false);
78 }
79
80 /// Creates directory and all non-existings parents
81 ///

Callers 7

MatchOrUpdateGoldenMethod · 0.85
MakeReportFileNameMethod · 0.85
InitFromEnvMethod · 0.85
TestCreateRemoveMethod · 0.85
mkpathFunction · 0.85
MakePathIfNotExistFunction · 0.85

Calls

no outgoing calls

Tested by 1

TestCreateRemoveMethod · 0.68