Versions in this module Expand all Collapse all v0 v0.2.2 Feb 3, 2023 Changes in this version type Drive — windows/amd64 + Size int64 v0.2.1 Feb 2, 2023 Changes in this version type Drive — windows/amd64 + func (d Drive) IsRemovable() bool v0.2.0 Jan 10, 2023 Changes in this version type Drive — windows/amd64 + Name string + Partitions []*Partition + func (d Drive) String() string + type FileSystem struct — darwin/amd64, js/wasm, linux/amd64 + Flags uint32 + Kind string + MaxComponentLength uint32 + func (fs FileSystem) IsReadOnly() bool + type Partition struct — windows/amd64 + FileSystem FileSystem + Name string + Path string + Removable bool + func (p Partition) String() string v0.1.0 Oct 31, 2022 Changes in this version + func Paths() ([]string, error) — windows/amd64 + type Drive struct — windows/amd64 + FileSystem FileSystem + Path string + Type DriveType + VolumeName string + func List(driveTypes ...DriveType) ([]*Drive, error) + type DriveType int — windows/amd64 + const DriveTypeCDRom + const DriveTypeFixed + const DriveTypeInvalid + const DriveTypeRAMDisk + const DriveTypeRemote + const DriveTypeRemovable + type FileSystem struct — windows/amd64 + Flags uint32 + MaxComponentLength uint32 + Name string + func (fs FileSystem) IsReadOnly() bool