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

Function SettingCacheUpdate

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

Source from the content-addressed store, hash-verified

29}
30
31func SettingCacheUpdate() {
32 Cache.ClearAll()
33 for _, cb := range settingChangingCallbacks {
34 cb()
35 }
36}
37
38func GetPublicSettingsMap() map[string]string {
39 items, _ := GetPublicSettingItems()

Callers 4

initSettingsFunction · 0.92
SaveSettingItemsFunction · 0.85
SaveSettingItemFunction · 0.85
DeleteSettingItemByKeyFunction · 0.85

Calls 1

ClearAllMethod · 0.80

Tested by

no test coverage detected