MCPcopy
hub / github.com/grafana/dskit / addVersion

Method addVersion

cache/versioned.go:85–87  ·  view source on GitHub ↗
(k string)

Source from the content-addressed store, hash-verified

83}
84
85func (c *Versioned) addVersion(k string) string {
86 return c.versionPrefix + k
87}
88func (c *Versioned) removeVersion(k string) string {
89 return strings.TrimPrefix(k, c.versionPrefix)
90}

Callers 6

SetAsyncMethod · 0.95
SetMultiAsyncMethod · 0.95
SetMethod · 0.95
AddMethod · 0.95
GetMultiWithErrorMethod · 0.95
DeleteMethod · 0.95

Calls

no outgoing calls

Tested by

no test coverage detected