MCPcopy Create free account
hub / github.com/chainloop-dev/chainloop / newRef

Function newRef

app/controlplane/pkg/biz/referrer.go:298–300  ·  view source on GitHub ↗
(digest, kind string)

Source from the content-addressed store, hash-verified

296)
297
298func newRef(digest, kind string) string {
299 return fmt.Sprintf("%s-%s", kind, digest)
300}
301
302func (r *Referrer) MapID() string {
303 return newRef(r.Digest, r.Kind)

Callers 2

MapIDMethod · 0.85
extractReferrersFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected