MCPcopy Index your code
hub / github.com/GoEdgeLab/EdgeNode / EnableStat

Method EnableStat

internal/utils/dbs/db.go:123–125  ·  view source on GitHub ↗
(b bool)

Source from the content-addressed store, hash-verified

121}
122
123func (this *DB) EnableStat(b bool) {
124 this.enableStat = b
125}
126
127func (this *DB) Begin() (*sql.Tx, error) {
128 // check database status

Callers 3

PrepareMethod · 0.95
InitMethod · 0.45
OpenMethod · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected