ghdd

package
v0.0.0-...-04ff805 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 22, 2022 License: MIT Imports: 3 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ListVolumes

func ListVolumes() (partitionPath []string, err error)

ListVolumes returns partition path, same as mount point in Unix, or logical drive in Windows

Types

type VolumeInfo

type VolumeInfo struct {
	FilesystemType string
	Free           gvolume.Volume
	Total          gvolume.Volume
}

func GetVolumeInfo

func GetVolumeInfo(volumePath string) (*VolumeInfo, error)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL