MCPcopy
hub / github.com/Koenkk/zigbee2mqtt / getPersistedSettings

Function getPersistedSettings

lib/util/settings.ts:444–450  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

442 * Defaults merged on startup are not included.
443 */
444export function getPersistedSettings(): Partial<Settings> {
445 if (!_settings) {
446 _settings = read();
447 }
448
449 return _settings;
450}
451
452export function get(): Settings {
453 if (!_settingsWithDefaults) {

Callers 15

loadSettingsWithDefaultsFunction · 0.85
setOnboardingFunction · 0.85
writeFunction · 0.85
validateFunction · 0.85
validateNonRequiredFunction · 0.85
setFunction · 0.85
applyFunction · 0.85
addDeviceFunction · 0.85
blockDeviceFunction · 0.85
removeDeviceFunction · 0.85
addGroupFunction · 0.85
removeGroupFunction · 0.85

Calls 1

readFunction · 0.70

Tested by

no test coverage detected