| 39 | } |
| 40 | |
| 41 | void File::changeDirectory(const String& dirName) { |
| 42 | if (!SetCurrentDirectoryW(stringToUtf16(dirName).get())) |
| 43 | throw IOException(strf("could not change directory to {}", dirName)); |
| 44 | } |
| 45 | |
| 46 | void File::makeDirectory(String const& dirName) { |
| 47 | if (CreateDirectoryW(stringToUtf16(dirName).get(), NULL) == 0) { |
nothing calls this directly
no test coverage detected