MCPcopy
hub / github.com/dgraph-io/badger / errFile

Function errFile

value.go:1027–1029  ·  view source on GitHub ↗
(err error, path string, msg string)

Source from the content-addressed store, hash-verified

1025}
1026
1027func errFile(err error, path string, msg string) error {
1028 return fmt.Errorf("%s. Path=%s. Error=%v", msg, path, err)
1029}
1030
1031func (vlog *valueLog) replayLog(lf *logFile, offset uint32, replayFn logEntry) error {
1032 fi, err := lf.fd.Stat()

Callers 6

iterateMethod · 0.85
populateFilesMapMethod · 0.85
openMethod · 0.85
createVlogFileMethod · 0.85
replayLogMethod · 0.85
openMethod · 0.85

Calls 1

ErrorfMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…