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

Function commit

inventory/tx.go:89–95  ·  view source on GitHub ↗
(tx *Tx)

Source from the content-addressed store, hash-verified

87}
88
89func commit(tx *Tx) (bool, error) {
90 if !tx.inherited {
91 tx.finished = true
92 return true, tx.tx.Commit()
93 }
94 return false, nil
95}
96
97func Commit(tx *Tx) error {
98 _, err := commit(tx)

Callers 2

CommitFunction · 0.85
CommitWithStorageDiffFunction · 0.85

Calls 1

CommitMethod · 0.65

Tested by

no test coverage detected