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

Method ReadFromFile

Goldleaf/source/fs/fs_PFS0.cpp:79–81  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

77 }
78
79 u64 PFS0::ReadFromFile(const u32 idx, const u64 offset, const u64 size, void *read_buf) {
80 return this->exp->ReadFile(this->path, (this->header_size + this->files[idx].entry.offset + offset), size, read_buf);
81 }
82
83 std::vector<std::string> PFS0::GetFiles() {
84 std::vector<std::string> file_names;

Callers 2

SaveFileMethod · 0.95
WriteContentsMethod · 0.80

Calls 1

ReadFileMethod · 0.45

Tested by

no test coverage detected