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

Method GetFiles

Goldleaf/source/fs/fs_PFS0.cpp:83–89  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

81 }
82
83 std::vector<std::string> PFS0::GetFiles() {
84 std::vector<std::string> file_names;
85 for(const auto &file: this->files) {
86 file_names.push_back(file.name);
87 }
88 return file_names;
89 }
90
91 u64 PFS0::GetFileSize(const u32 idx) {
92 if(IsInvalidFileIndex(idx) || (idx >= this->files.size())) {

Callers 9

PrepareInstallationMethod · 0.45
GenerateFromFunction · 0.45
OnDirectorySelectedMethod · 0.45
GetUpdateInfoFunction · 0.45
GetContentsMethod · 0.45
CopyDirectoryMethod · 0.45
DoCopyDirectoryProgressFunction · 0.45
GetDirectorySizeMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected