| 61 | } |
| 62 | |
| 63 | bool Explorer::NavigateForward(const std::string &path) { |
| 64 | const auto is_dir = this->IsDirectory(path); |
| 65 | if(is_dir) { |
| 66 | this->cwd = this->MakeFull(path); |
| 67 | } |
| 68 | return is_dir; |
| 69 | } |
| 70 | |
| 71 | std::vector<std::string> Explorer::GetContents() { |
| 72 | auto dirs = this->GetDirectories(this->cwd); |
no test coverage detected