Versions in this module Expand all Collapse all v1 v1.0.0 Aug 15, 2021 Changes in this version + const FallocFlPunchHole — linux/amd64 + func Deallocate(file *os.File, offset int64, length int64) error + type FsStat struct + Available int64 + Capacity int64 + FSAvailable int64 + Max int64 + Reserved int64 + Used int64 + func Statfs(path string) (FsStat, error) + func Statfs(volumePath string) (FsStat, error) + type SizeInfo struct + OnDisk int64 + func FileSize(path string) (SizeInfo, error)