1
0
mirror of https://github.com/schollz/croc.git synced 2024-11-23 15:44:16 +03:00

chore: fix some function names in comment

This commit is contained in:
David Wood 2024-10-21 14:58:54 +08:00 committed by GitHub
parent 917d9f16b4
commit 09376c5c4b
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")