ghdd

package
v0.0.0-...-f3abbe6 Latest Latest
Warning

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

Go to latest
Published: Sep 27, 2020 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)

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)

Jump to

Keyboard shortcuts

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