MCPcopy Create free account
hub / github.com/OpenStarbound/OpenStarbound / getPath

Method getPath

source/base/StarConfiguration.cpp:29–32  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

27}
28
29Json Configuration::getPath(String const& path, Json def) const {
30 MutexLocker locker(m_mutex);
31 return m_currentConfig.query(path, def);
32}
33
34Json Configuration::getDefault(String const& key) const {
35 MutexLocker locker(m_mutex);

Callers

nothing calls this directly

Calls 1

queryMethod · 0.45

Tested by

no test coverage detected