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

Function WinMakeDirectory

util/system/fs_win.cpp:149–153  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

147 }
148
149 bool WinMakeDirectory(const TString& path) {
150 TUtf16String buf;
151 LPCWSTR ptr = UTF8ToWCHAR(path, buf);
152 return CreateDirectoryW(ptr, (LPSECURITY_ATTRIBUTES) nullptr);
153 }
154 // edited part of <Ntifs.h> from Windows DDK
155
156#define SYMLINK_FLAG_RELATIVE 1

Callers 2

MakeDirectoryMethod · 0.85
Y_UNIT_TESTFunction · 0.85

Calls 1

UTF8ToWCHARFunction · 0.70

Tested by

no test coverage detected