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

Method fsItems_Y

Goldleaf/source/ui/ui_BrowserLayout.cpp:815–825  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

813 }
814
815 void BrowserLayout::fsItems_Y(const std::string &item) {
816 const auto full_item = this->cur_exp->FullPathFor(item);
817 const auto pres_full_item = this->cur_exp->FullPresentablePathFor(item);
818
819 if(this->cur_exp->IsDirectory(full_item)) {
820 this->OnDirectorySelected(item, full_item, pres_full_item);
821 }
822 else {
823 this->OnFileSelected(item, full_item, pres_full_item);
824 }
825 }
826
827}

Callers

nothing calls this directly

Calls 5

OnDirectorySelectedMethod · 0.95
OnFileSelectedMethod · 0.95
FullPathForMethod · 0.80
IsDirectoryMethod · 0.45

Tested by

no test coverage detected