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

Method SaveX

app/controlplane/pkg/data/ent/group_update.go:542–548  ·  view source on GitHub ↗

SaveX is like Save, but panics if an error occurs.

(ctx context.Context)

Source from the content-addressed store, hash-verified

540
541// SaveX is like Save, but panics if an error occurs.
542func (_u *GroupUpdateOne) SaveX(ctx context.Context) *Group {
543 node, err := _u.Save(ctx)
544 if err != nil {
545 panic(err)
546 }
547 return node
548}
549
550// Exec executes the query on the entity.
551func (_u *GroupUpdateOne) Exec(ctx context.Context) error {

Callers

nothing calls this directly

Calls 1

SaveMethod · 0.95

Tested by

no test coverage detected