Skip to content

Commit

Permalink
Merge pull request #825 from davidwoood/main
Browse files Browse the repository at this point in the history
chore: fix some function names in comment
  • Loading branch information
schollz authored Oct 21, 2024
2 parents 917d9f1 + 09376c5 commit 30684fb
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion src/diskusage/diskusage.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type DiskUsage struct {
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)
func NewDiskUsage(volumePath string) *DiskUsage {
stat := unix.Statfs_t{}
Expand Down
2 changes: 1 addition & 1 deletion src/diskusage/diskusage_windows.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ type DiskUsage struct {
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)
func NewDiskUsage(volumePath string) *DiskUsage {
h := windows.MustLoadDLL("kernel32.dll")
Expand Down

0 comments on commit 30684fb

Please sign in to comment.