| 71 | } |
| 72 | |
| 73 | bool Filesystem::chdir (std::filesystem::path path) noexcept |
| 74 | { |
| 75 | Filesystem::init(); |
| 76 | try |
| 77 | { |
| 78 | std::filesystem::current_path(path); |
| 79 | return true; |
| 80 | } |
| 81 | catch (std::filesystem::filesystem_error&) |
| 82 | { |
| 83 | return false; |
| 84 | } |
| 85 | } |
| 86 | |
| 87 | std::filesystem::path Filesystem::getcwd () |
| 88 | { |
no test coverage detected