Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
89
func
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
97
func
Commit(tx *Tx) error {
98
_, err := commit(tx)
Callers
2
Commit
Function · 0.85
CommitWithStorageDiff
Function · 0.85
Calls
1
Commit
Method · 0.65
Tested by
no test coverage detected