Versions in this module Expand all Collapse all v0 v0.0.24 Aug 6, 2026 Changes in this version + var ErrNotDirectory = errors.New("not a directory") + var ErrNotSupported = errors.New("not supported on this platform") + var ErrPathChanged = errors.New("path changed during filesystem stat") + type Info struct + Blocks uint64 + BlocksAvailable uint64 + BlocksFree uint64 + Files uint64 + FilesAvailable bool + FilesFree uint64 + FundamentalBlockSize uint64 + ID uint64 + IDAvailable bool + IOBlockSize uint64 + NameMax uint64 + NameMaxAvailable bool + TypeID uint64 + TypeIDAvailable bool + TypeName string + func Read(root *os.Root, relPath string, requireDirectory bool) (Info, error)