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

Method UpdateOne

app/controlplane/pkg/data/ent/client.go:754–757  ·  view source on GitHub ↗

UpdateOne returns an update builder for the given entity.

(_m *CASBackend)

Source from the content-addressed store, hash-verified

752
753// UpdateOne returns an update builder for the given entity.
754func (c *CASBackendClient) UpdateOne(_m *CASBackend) *CASBackendUpdateOne {
755 mutation := newCASBackendMutation(c.config, OpUpdateOne, withCASBackend(_m))
756 return &CASBackendUpdateOne{config: c.config, hooks: c.Hooks(), mutation: mutation}
757}
758
759// UpdateOneID returns an update builder for the given id.
760func (c *CASBackendClient) UpdateOneID(id uuid.UUID) *CASBackendUpdateOne {

Callers

nothing calls this directly

Calls 3

HooksMethod · 0.95
newCASBackendMutationFunction · 0.85
withCASBackendFunction · 0.85

Tested by

no test coverage detected