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

Method Commit

inventory/debug/debug.go:179–182  ·  view source on GitHub ↗

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

()

Source from the content-addressed store, hash-verified

177
178// Commit logs this step and calls the underlying transaction Commit method.
179func (d *DebugTx) Commit() error {
180 d.log(d.ctx, fmt.Sprintf("Tx(%s): committed", d.id))
181 return d.Tx.Commit()
182}
183
184// Rollback logs this step and calls the underlying transaction Rollback method.
185func (d *DebugTx) Rollback() error {

Callers

nothing calls this directly

Calls 1

CommitMethod · 0.65

Tested by

no test coverage detected