MCPcopy Create free account
hub / github.com/ElyPrismLauncher/Launcher / addBase

Method addBase

launcher/net/HttpMetaCache.cpp:201–211  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

199}
200
201void HttpMetaCache::addBase(QString base, QString base_root)
202{
203 // TODO: report error
204 if (m_entries.contains(base))
205 return;
206
207 // TODO: check if the base path is valid
208 EntryMap foo;
209 foo.base_path = base_root;
210 m_entries[base] = foo;
211}
212
213auto HttpMetaCache::getBasePath(QString base) -> QString
214{

Callers 2

ApplicationMethod · 0.80
initTestCaseMethod · 0.80

Calls 1

containsMethod · 0.45

Tested by 1

initTestCaseMethod · 0.64