MCPcopy
hub / github.com/grafana/tempo / filepathOf

Method filepathOf

tempodb/encoding/vparquet5/wal_block.go:402–406  ·  view source on GitHub ↗
(page int)

Source from the content-addressed store, hash-verified

400}
401
402func (b *walBlock) filepathOf(page int) string {
403 filename := fmt.Sprintf("%010d", page)
404 filename = filepath.Join(b.walPath(), filename)
405 return filename
406}
407
408func (b *walBlock) openWriter() (err error) {
409 nextFile := len(b.flushed) + 1

Callers 2

openWriterMethod · 0.95
TestPartialReplayFunction · 0.45

Calls 2

walPathMethod · 0.95
JoinMethod · 0.65

Tested by 1

TestPartialReplayFunction · 0.36