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

Method getBasePath

launcher/net/HttpMetaCache.cpp:188–195  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

186}
187
188auto HttpMetaCache::getBasePath(QString base) -> QString
189{
190 if (m_entries.contains(base)) {
191 return m_entries[base].base_path;
192 }
193
194 return {};
195}
196
197void HttpMetaCache::Load()
198{

Callers 1

getStorageMethod · 0.80

Calls 1

containsMethod · 0.45

Tested by 1

getStorageMethod · 0.64