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

Function Location

app/controlplane/pkg/data/ent/casbackend/where.go:61–63  ·  view source on GitHub ↗

Location applies equality check predicate on the "location" field. It's identical to LocationEQ.

(v string)

Source from the content-addressed store, hash-verified

59
60// Location applies equality check predicate on the "location" field. It's identical to LocationEQ.
61func Location(v string) predicate.CASBackend {
62 return predicate.CASBackend(sql.FieldEQ(FieldLocation, v))
63}
64
65// Name applies equality check predicate on the "name" field. It's identical to NameEQ.
66func Name(v string) predicate.CASBackend {

Callers

nothing calls this directly

Calls 1

CASBackendFuncType · 0.92

Tested by

no test coverage detected