ghdd

package
v0.0.0-...-2bcc11b Latest Latest
Warning

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

Go to latest
Published: May 8, 2024 License: GPL-3.0 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