MCPcopy Index your code
hub / github.com/aiprodcoder/MIXAPI / shouldUpdateRedis

Function shouldUpdateRedis

model/utils.go:109–111  ·  view source on GitHub ↗
(fromDB bool, err error)

Source from the content-addressed store, hash-verified

107}
108
109func shouldUpdateRedis(fromDB bool, err error) bool {
110 return common.RedisEnabled && fromDB && err == nil
111}

Callers 10

GetUserCacheFunction · 0.85
GetUserQuotaFunction · 0.85
GetUserGroupFunction · 0.85
GetUserSettingFunction · 0.85
GetUsernameByIdFunction · 0.85
GetTokenByIdFunction · 0.85
GetTokenByKeyFunction · 0.85
UpdateMethod · 0.85
SelectUpdateMethod · 0.85
DeleteMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected