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

Method ExecX

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

182
183// ExecX is like Exec, but panics if an error occurs.
184func (gcc *GitCommitCreate) ExecX(ctx context.Context) {
185 if err := gcc.Exec(ctx); err != nil {
186 panic(err)
187 }
188}
189
190// defaults sets the default values of the builder before save.
191func (gcc *GitCommitCreate) defaults() {

Callers

nothing calls this directly

Calls 1

ExecMethod · 0.95

Tested by

no test coverage detected