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

Method IsDirectory

Goldleaf/source/fs/fs_StdExplorer.cpp:114–119  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

112 }
113
114 bool StdExplorer::IsDirectory(const std::string &path) {
115 const auto full_path = this->MakeFull(path);
116
117 struct stat st;
118 return (stat(full_path.c_str(), &st) == 0) && (st.st_mode & S_IFDIR);
119 }
120
121 void StdExplorer::CreateFile(const std::string &path) {
122 const auto full_path = this->MakeFull(path);

Callers 8

ExportAsVirtualAmiiboFunction · 0.45
StartCopyMethod · 0.45
OnInputMethod · 0.45
OnFileSelectedMethod · 0.45
OnDirectorySelectedMethod · 0.45
UpdateElementsMethod · 0.45
fsItems_YMethod · 0.45
NavigateForwardMethod · 0.45

Calls 2

statClass · 0.85
MakeFullMethod · 0.80

Tested by

no test coverage detected