MCPcopy
hub / github.com/spf13/viper / AllSettings

Method AllSettings

viper.go:1970–1972  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1968func AllSettings() map[string]any { return v.AllSettings() }
1969
1970func (v *Viper) AllSettings() map[string]any {
1971 return v.getSettings(v.AllKeys())
1972}
1973
1974func (v *Viper) getSettings(keys []string) map[string]any {
1975 m := map[string]any{}

Callers 5

marshalWriterMethod · 0.95
TestAllKeysFunction · 0.80
TestShadowedNestedValueFunction · 0.80
AllSettingsFunction · 0.80

Calls 2

getSettingsMethod · 0.95
AllKeysMethod · 0.95

Tested by 3

TestAllKeysFunction · 0.64
TestShadowedNestedValueFunction · 0.64