MCPcopy Create free account
hub / github.com/OpenListTeam/OpenList / GetPublicSettingsMap

Function GetPublicSettingsMap

internal/op/setting.go:38–45  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

36}
37
38func GetPublicSettingsMap() map[string]string {
39 items, _ := GetPublicSettingItems()
40 pSettings := make(map[string]string)
41 for _, item := range items {
42 pSettings[item.Key] = item.Value
43 }
44 return pSettings
45}
46
47func GetSettingsMap() map[string]string {
48 items, _ := GetSettingItems()

Callers 1

PublicSettingsFunction · 0.92

Calls 1

GetPublicSettingItemsFunction · 0.70

Tested by

no test coverage detected