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

Method ExecX

ent/gitcommit_update.go:577–581  ·  view source on GitHub ↗

ExecX is like Exec, but panics if an error occurs.

(ctx context.Context)

Source from the content-addressed store, hash-verified

575
576// ExecX is like Exec, but panics if an error occurs.
577func (gcuo *GitCommitUpdateOne) ExecX(ctx context.Context) {
578 if err := gcuo.Exec(ctx); err != nil {
579 panic(err)
580 }
581}
582
583// defaults sets the default values of the builder before save.
584func (gcuo *GitCommitUpdateOne) defaults() {

Callers

nothing calls this directly

Calls 1

ExecMethod · 0.95

Tested by

no test coverage detected