1
1
Fork 0
mirror of https://github.com/schollz/croc.git synced 2025-10-11 05:11:06 +02:00

Merge pull request #825 from davidwoood/main

chore: fix some function names in comment
This commit is contained in:
Zack 2024-10-21 01:23:03 -07:00 committed by GitHub
commit 30684fb383
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 2 additions and 2 deletions

View file

@ -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{}

View file

@ -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")