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

Method UpdateOne

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

UpdateOne returns an update builder for the given entity.

(_m *CASMapping)

Source from the content-addressed store, hash-verified

917
918// UpdateOne returns an update builder for the given entity.
919func (c *CASMappingClient) UpdateOne(_m *CASMapping) *CASMappingUpdateOne {
920 mutation := newCASMappingMutation(c.config, OpUpdateOne, withCASMapping(_m))
921 return &CASMappingUpdateOne{config: c.config, hooks: c.Hooks(), mutation: mutation}
922}
923
924// UpdateOneID returns an update builder for the given id.
925func (c *CASMappingClient) UpdateOneID(id uuid.UUID) *CASMappingUpdateOne {

Callers

nothing calls this directly

Calls 3

HooksMethod · 0.95
newCASMappingMutationFunction · 0.85
withCASMappingFunction · 0.85

Tested by

no test coverage detected