chore: fix some function names in comment
This commit is contained in:
parent
917d9f16b4
commit
09376c5c4b
|
|
@ -12,7 +12,7 @@ type DiskUsage struct {
|
||||||
stat *unix.Statfs_t
|
stat *unix.Statfs_t
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewDiskUsages returns an object holding the disk usage of volumePath
|
// NewDiskUsage returns an object holding the disk usage of volumePath
|
||||||
// or nil in case of error (invalid path, etc)
|
// or nil in case of error (invalid path, etc)
|
||||||
func NewDiskUsage(volumePath string) *DiskUsage {
|
func NewDiskUsage(volumePath string) *DiskUsage {
|
||||||
stat := unix.Statfs_t{}
|
stat := unix.Statfs_t{}
|
||||||
|
|
|
||||||
|
|
@ -12,7 +12,7 @@ type DiskUsage struct {
|
||||||
availBytes int64
|
availBytes int64
|
||||||
}
|
}
|
||||||
|
|
||||||
// NewDiskUsages returns an object holding the disk usage of volumePath
|
// NewDiskUsage returns an object holding the disk usage of volumePath
|
||||||
// or nil in case of error (invalid path, etc)
|
// or nil in case of error (invalid path, etc)
|
||||||
func NewDiskUsage(volumePath string) *DiskUsage {
|
func NewDiskUsage(volumePath string) *DiskUsage {
|
||||||
h := windows.MustLoadDLL("kernel32.dll")
|
h := windows.MustLoadDLL("kernel32.dll")
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue