Versions in this module Expand all Collapse all v1 v1.0.1 Jan 13, 2026 Changes in this version + type Dirent struct + Inode uint64 + func NewDirent(path string) (*Dirent, error) + func (d *Dirent) AppendTo(p []byte) []byte + func (d *Dirent) Bytes() []byte + func (d *Dirent) IsDir() bool + func (d *Dirent) IsRegular() bool + func (d *Dirent) IsSymlink() bool + func (d *Dirent) Type() fs.FileMode + type ErrorCallback func(path string, err error) + type PathCallback func(entry *Dirent) error + type StatData struct + Bytes uint64 + Close uint64 + Open uint64 + Read uint64 + Stat uint64 + Write uint64 + WriteBytes uint64 + type StatsOutput func(time.Time, StatData) + type Walker struct + func New(cb PathCallback, includDirs, ignoreSymlinks bool) *Walker + func (s *Walker) AddClose() + func (s *Walker) AddOpen() + func (s *Walker) AddRead(count int) + func (s *Walker) AddStat() + func (s *Walker) AddWrite(count int) + func (s *Walker) LogStats(ctx context.Context) func() + func (w *Walker) EnableStats(interval time.Duration, output StatsOutput) + func (w *Walker) Walk(dir string, errCB ErrorCallback) error v1.0.0 Jan 13, 2026