MCPcopy Create free account
hub / github.com/Comfy-Org/registry-backend / SaveX

Method SaveX

ent/gitcommit_create.go:800–806  ·  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

798
799// SaveX is like Save, but panics if an error occurs.
800func (gccb *GitCommitCreateBulk) SaveX(ctx context.Context) []*GitCommit {
801 v, err := gccb.Save(ctx)
802 if err != nil {
803 panic(err)
804 }
805 return v
806}
807
808// Exec executes the query.
809func (gccb *GitCommitCreateBulk) Exec(ctx context.Context) error {

Callers

nothing calls this directly

Calls 1

SaveMethod · 0.95

Tested by

no test coverage detected