MCPcopy
hub / github.com/agalwood/Motrix / getSystemConfig

Method getSystemConfig

src/main/core/ConfigManager.js:171–178  ·  view source on GitHub ↗
(key, defaultValue)

Source from the content-addressed store, hash-verified

169 }
170
171 getSystemConfig (key, defaultValue) {
172 if (typeof key === 'undefined' &&
173 typeof defaultValue === 'undefined') {
174 return this.systemConfig.store
175 }
176
177 return this.systemConfig.get(key, defaultValue)
178 }
179
180 getUserConfig (key, defaultValue) {
181 if (typeof key === 'undefined' &&

Callers 5

startEngineMethod · 0.80
initEngineClientMethod · 0.80
startUPnPMappingMethod · 0.80
stopUPnPMappingMethod · 0.80
handleIpcInvokesMethod · 0.80

Calls 1

getMethod · 0.80

Tested by

no test coverage detected