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

Method SetSettingGroup

internal/op/cache.go:117–119  ·  view source on GitHub ↗

cache setting groups

(key string, settings []model.SettingItem)

Source from the content-addressed store, hash-verified

115
116// cache setting groups
117func (cm *CacheManager) SetSettingGroup(key string, settings []model.SettingItem) {
118 cm.settingCache.Set(key, settings)
119}
120
121// cached setting group
122func (cm *CacheManager) GetSettingGroup(key string) ([]model.SettingItem, bool) {

Callers 1

setting.goFile · 0.80

Calls 1

SetMethod · 0.45

Tested by

no test coverage detected