Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListVolumes ¶
returns partition path, same as mountpoint in Unix, or logical drive in Windows
Types ¶
type VolumeInfo ¶
type VolumeInfo struct { FilesystemType string Available gvolume.Volume Free gvolume.Volume Total gvolume.Volume }
func GetVolumeInfo ¶
func GetVolumeInfo(volumePath string) (*VolumeInfo, error)
Click to show internal directories.
Click to hide internal directories.