Documentation ¶ Rendered for linux/amd64 windows/amd64 darwin/amd64 js/wasm Index ¶ type Info func GetInfo(path string) (info Info, err error) Constants ¶ This section is empty. Variables ¶ This section is empty. Functions ¶ This section is empty. Types ¶ type Info ¶ type Info struct { Total uint64 Free uint64 Files uint64 Ffree uint64 FSType string } Info stat fs struct is container which holds following values Total - total size of the volume / disk Free - free size of the volume / disk Files - total inodes available Ffree - free inodes available FSType - file system type func GetInfo ¶ func GetInfo(path string) (info Info, err error) GetInfo returns total and free bytes available in a directory, e.g. `/`. Source Files ¶ View all Source files disk.go stat_linux.go type_linux.go Click to show internal directories. Click to hide internal directories.