MCPcopy Create free account
hub / github.com/XorTroll/Goldleaf / NavigateForward

Method NavigateForward

Goldleaf/source/fs/fs_Explorer.cpp:63–69  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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);

Callers 2

fsItems_DefaultKeyMethod · 0.80
GetRemotePCExplorerFunction · 0.80

Calls 2

MakeFullMethod · 0.95
IsDirectoryMethod · 0.45

Tested by

no test coverage detected