MCPcopy Index your code
hub / github.com/bytebase/bytebase / getInstanceCacheKey

Function getInstanceCacheKey

backend/store/store.go:143–145  ·  view source on GitHub ↗
(instanceID string)

Source from the content-addressed store, hash-verified

141}
142
143func getInstanceCacheKey(instanceID string) string {
144 return instanceID
145}
146
147func getSettingCacheKey(workspace string, name storepb.SettingName) string {
148 return fmt.Sprintf("workspaces/%s/settings/%s", workspace, name.String())

Callers 7

ListAllInstancesMethod · 0.85
GetInstanceMethod · 0.85
ListInstancesMethod · 0.85
CreateInstanceMethod · 0.85
UpdateInstanceMethod · 0.85
DeleteInstanceMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected