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

Method ExecX

ent/node_delete.go:84–88  ·  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

82
83// ExecX is like Exec, but panics if an error occurs.
84func (ndo *NodeDeleteOne) ExecX(ctx context.Context) {
85 if err := ndo.Exec(ctx); err != nil {
86 panic(err)
87 }
88}

Callers

nothing calls this directly

Calls 1

ExecMethod · 0.95

Tested by

no test coverage detected