MCPcopy Create free account
hub / github.com/GoEdgeLab/EdgeNode / close

Method close

internal/utils/dbs/batch.go:136–144  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

134}
135
136func (this *Batch) close() {
137 this.isClosed = true
138
139 select {
140 case this.closeEvent <- true:
141 default:
142
143 }
144}
145
146func (this *Batch) beginTx() *sql.Tx {
147 if !this.db.BeginUpdating() {

Callers 1

CloseMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected