MCPcopy Create free account
hub / github.com/ByteStorage/FlyDB / check

Function check

lib/datastore/boltdb.go:260–265  ·  view source on GitHub ↗
(f func() error)

Source from the content-addressed store, hash-verified

258}
259
260func check(f func() error) {
261 if err := f(); err != nil {
262 // todo create a central logging solution
263 zap.L().Log(zap.ErrorLevel, fmt.Sprintf("Received error:%s", err))
264 }
265}

Callers 10

initMethod · 0.85
FirstIndexMethod · 0.85
LastIndexMethod · 0.85
GetLogMethod · 0.85
StoreLogsMethod · 0.85
DeleteRangeMethod · 0.85
SetMethod · 0.85
GetMethod · 0.85
SetUint64Method · 0.85
GetUint64Method · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected