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

Method UpdateOne

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

UpdateOne returns an update builder for the given entity.

(_m *Group)

Source from the content-addressed store, hash-verified

1098
1099// UpdateOne returns an update builder for the given entity.
1100func (c *GroupClient) UpdateOne(_m *Group) *GroupUpdateOne {
1101 mutation := newGroupMutation(c.config, OpUpdateOne, withGroup(_m))
1102 return &GroupUpdateOne{config: c.config, hooks: c.Hooks(), mutation: mutation}
1103}
1104
1105// UpdateOneID returns an update builder for the given id.
1106func (c *GroupClient) UpdateOneID(id uuid.UUID) *GroupUpdateOne {

Callers

nothing calls this directly

Calls 3

HooksMethod · 0.95
newGroupMutationFunction · 0.85
withGroupFunction · 0.85

Tested by

no test coverage detected