| 883 | } |
| 884 | |
| 885 | U32 KProcess::rmdir(BString path) { |
| 886 | std::shared_ptr<FsNode> node = Fs::getNodeFromLocalPath(this->currentDirectory, path, false); |
| 887 | |
| 888 | if (!node) |
| 889 | return -K_ENOENT; |
| 890 | return node->removeDir(); |
| 891 | } |
| 892 | |
| 893 | U32 KProcess::mkdir(BString path) { |
| 894 | std::shared_ptr<FsNode> node = Fs::getNodeFromLocalPath(this->currentDirectory, path, false); |
no test coverage detected