Versions in this module Expand all Collapse all v1 v1.0.0 Jan 25, 2023 Changes in this version + var GetDiskFreeSpace = kernel32.NewProc("GetDiskFreeSpaceW") — windows/amd64 + var GetDiskFreeSpaceEx = kernel32.NewProc("GetDiskFreeSpaceExW") — windows/amd64 + var GetVolumeInformation = kernel32.NewProc("GetVolumeInformationW") — windows/amd64 + func IsRootDisk(diskPath string) (bool, error) + type Info struct + FSType string + Ffree uint64 + Files uint64 + Free uint64 + Total uint64 + Usage uint64 + func GetInfo(path string) (info Info, err error) + type Performance struct + Error string + Path string + ReadSpeed float64 + WriteSpeed float64 + func GetPerformance(path string) Performance Incompatible versions in this module v3.0.0+incompatible Nov 17, 2023 v2.0.0+incompatible May 16, 2023