MCPcopy Create free account
hub / github.com/PolyMC/PolyMC / getStorage

Method getStorage

tests/Library_test.cpp:59–62  ·  view source on GitHub ↗

get absolute path to expected storage, assuming default cache prefix

Source from the content-addressed store, hash-verified

57 }
58 // get absolute path to expected storage, assuming default cache prefix
59 QStringList getStorage(QString relative)
60 {
61 return {FS::PathCombine(cache->getBasePath("libraries"), relative)};
62 }
63
64 RuntimeContext dummyContext(QString system = "linux", QString arch = "64", QString realArch = "amd64") {
65 RuntimeContext r;

Callers

nothing calls this directly

Calls 2

PathCombineFunction · 0.85
getBasePathMethod · 0.80

Tested by

no test coverage detected