| 89 | } |
| 90 | |
| 91 | u64 PFS0::GetFileSize(const u32 idx) { |
| 92 | if(IsInvalidFileIndex(idx) || (idx >= this->files.size())) { |
| 93 | return 0; |
| 94 | } |
| 95 | else { |
| 96 | return this->files[idx].entry.size; |
| 97 | } |
| 98 | } |
| 99 | |
| 100 | void PFS0::SaveFile(const u32 idx, fs::Explorer *path_exp, const std::string &path) { |
| 101 | if(IsInvalidFileIndex(idx) || (idx >= this->files.size())) { |
no outgoing calls
no test coverage detected