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

Method Rollback

inventory/debug/debug.go:185–188  ·  view source on GitHub ↗

Rollback logs this step and calls the underlying transaction Rollback method.

()

Source from the content-addressed store, hash-verified

183
184// Rollback logs this step and calls the underlying transaction Rollback method.
185func (d *DebugTx) Rollback() error {
186 d.log(d.ctx, fmt.Sprintf("Tx(%s): rollbacked", d.id))
187 return d.Tx.Rollback()
188}

Callers

nothing calls this directly

Calls 1

RollbackMethod · 0.65

Tested by

no test coverage detected