| 72 | } |
| 73 | |
| 74 | bool NFs::MakeDirectory(const TString& path, EFilePermissions mode) { |
| 75 | #if defined(_win_) |
| 76 | Y_UNUSED(mode); |
| 77 | return NFsPrivate::WinMakeDirectory(path); |
| 78 | #else |
| 79 | return mkdir(path.data(), mode) == 0; |
| 80 | #endif |
| 81 | } |
| 82 | |
| 83 | bool NFs::MakeDirectoryRecursive(const TString& path, EFilePermissions mode, bool alwaysCreate) { |
| 84 | if (NFs::Exists(path) && TFileStat(path).IsDir()) { |
nothing calls this directly
no test coverage detected