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

Function Digest

app/controlplane/pkg/data/ent/casmapping/where.go:60–62  ·  view source on GitHub ↗

Digest applies equality check predicate on the "digest" field. It's identical to DigestEQ.

(v string)

Source from the content-addressed store, hash-verified

58
59// Digest applies equality check predicate on the "digest" field. It's identical to DigestEQ.
60func Digest(v string) predicate.CASMapping {
61 return predicate.CASMapping(sql.FieldEQ(FieldDigest, v))
62}
63
64// CreatedAt applies equality check predicate on the "created_at" field. It's identical to CreatedAtEQ.
65func CreatedAt(v time.Time) predicate.CASMapping {

Callers 2

FindByDigestInOrgsMethod · 0.92
FindPublicByDigestMethod · 0.92

Calls 1

CASMappingFuncType · 0.92

Tested by

no test coverage detected