MCPcopy Index your code
hub / github.com/dgraph-io/badger / vlogFilePath

Function vlogFilePath

value.go:862–864  ·  view source on GitHub ↗
(dirPath string, fid uint32)

Source from the content-addressed store, hash-verified

860}
861
862func vlogFilePath(dirPath string, fid uint32) string {
863 return fmt.Sprintf("%s%s%06d.vlog", dirPath, string(os.PathSeparator), fid)
864}
865
866func (vlog *valueLog) fpath(fid uint32) string {
867 return vlogFilePath(vlog.dirPath, fid)

Callers 7

fpathMethod · 0.85
TestChecksumsFunction · 0.85
createVlogFunction · 0.85
TestValueLogTruncateFunction · 0.85

Calls

no outgoing calls

Tested by 6

TestChecksumsFunction · 0.68
createVlogFunction · 0.68
TestValueLogTruncateFunction · 0.68

Used in the wild real call sites across dependent graphs

searching dependent graphs…