MCPcopy Create free account
hub / github.com/aardappel/treesheets / AddPakFileEntry

Function AddPakFileEntry

lobster/src/platform.cpp:277–280  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

275map<string, tuple<string, int64_t, int64_t, int64_t>, less<>> pakfile_registry;
276
277void AddPakFileEntry(string_view pakfilename, string_view relfilename, int64_t off,
278 int64_t len, int64_t uncompressed) {
279 pakfile_registry[string(relfilename)] = make_tuple(pakfilename, off, len, uncompressed);
280}
281
282int64_t LoadFileFromAny(string_view srelfilename, string *dest, int64_t start, int64_t len) {
283 for (auto &dir : data_dirs) {

Callers 1

LoadPakDirFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected