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

Method GetPresentableCwd

Goldleaf/source/fs/fs_Explorer.cpp:85–91  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

83 }
84
85 std::string Explorer::GetPresentableCwd() const {
86 if(this->cwd == (this->mnt_name + ":/")) {
87 return this->disp_name + ":/";
88 }
89 const auto mnt_root_size = this->mnt_name.length() + 2;
90 return this->disp_name + ":/" + this->cwd.substr(mnt_root_size);
91 }
92
93 void Explorer::CopyFile(const std::string &path, const std::string &new_path) {
94 const auto full_path = this->MakeFull(path);

Callers 3

ResetMenuHeadMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected