MCPcopy
hub / github.com/prometheus/prometheus / Stat

Method Stat

tsdb/wlog/wlog.go:80–80  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

78// SegmentFile represents the underlying file used to store a segment.
79type SegmentFile interface {
80 Stat() (os.FileInfo, error)
81 Sync() error
82 io.Writer
83 io.Reader

Callers 15

OpenDBReadOnlyFunction · 0.80
FlushWALMethod · 0.80
loadDataAsQueryableMethod · 0.80
BlockMethod · 0.80
deleteBlocksMethod · 0.80
TestCorruptedChunkFunction · 0.80
LockMethod · 0.80
TestDirLockerUsageFunction · 0.80

Calls

no outgoing calls

Tested by 12

TestCorruptedChunkFunction · 0.64
TestDirLockerUsageFunction · 0.64
TestLockingFunction · 0.64
TestReaderFuzz_LiveFunction · 0.64
TestCorruptAndCarryOnFunction · 0.64
assertCheckpointExistsFunction · 0.64