WARNING: THIS SITE IS A MIRROR OF GITHUB.COM / IT CANNOT LOGIN OR REGISTER ACCOUNTS / THE CONTENTS ARE PROVIDED AS-IS / THIS SITE ASSUMES NO RESPONSIBILITY FOR ANY DISPLAYED CONTENT OR LINKS / IF YOU FOUND SOMETHING MAY NOT GOOD FOR EVERYONE, CONTACT ADMIN AT ilovescratch@foxmail.com
Skip to content

Commit 30684fb

Browse files
authored
Merge pull request #825 from davidwoood/main
chore: fix some function names in comment
2 parents 917d9f1 + 09376c5 commit 30684fb

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

src/diskusage/diskusage.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type DiskUsage struct {
1212
stat *unix.Statfs_t
1313
}
1414

15-
// NewDiskUsages returns an object holding the disk usage of volumePath
15+
// NewDiskUsage returns an object holding the disk usage of volumePath
1616
// or nil in case of error (invalid path, etc)
1717
func NewDiskUsage(volumePath string) *DiskUsage {
1818
stat := unix.Statfs_t{}

src/diskusage/diskusage_windows.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ type DiskUsage struct {
1212
availBytes int64
1313
}
1414

15-
// NewDiskUsages returns an object holding the disk usage of volumePath
15+
// NewDiskUsage returns an object holding the disk usage of volumePath
1616
// or nil in case of error (invalid path, etc)
1717
func NewDiskUsage(volumePath string) *DiskUsage {
1818
h := windows.MustLoadDLL("kernel32.dll")

0 commit comments

Comments
 (0)