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

Method getDefaultPath

source/base/StarConfiguration.cpp:39–42  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

37}
38
39Json Configuration::getDefaultPath(String const& path) const {
40 MutexLocker locker(m_mutex);
41 return m_defaultConfig.query(path, {});
42}
43
44void Configuration::set(String const& key, Json const& value) {
45 MutexLocker locker(m_mutex);

Callers

nothing calls this directly

Calls 1

queryMethod · 0.45

Tested by

no test coverage detected