MCPcopy Create free account
hub / github.com/cloudreve/cloudreve / ExecX

Method ExecX

ent/task_update.go:187–191  ·  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

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

Callers

nothing calls this directly

Calls 1

ExecMethod · 0.95

Tested by

no test coverage detected