35c1fad517
With this commit we rename the existing AvailableDiskSpace function to its correct name AvailableDiskSpaceRatio as it only returns a ratio. We then go ahead and add a new function that returns the actual number of free bytes available on a file system. This also fixes some comments and always returns an error instead of panicking. |
||
---|---|---|
.. | ||
diskcheck_netbsd.go | ||
diskcheck_openbsd.go | ||
diskcheck_solaris.go | ||
diskcheck_windows.go | ||
diskcheck.go | ||
healthcheck_test.go | ||
healthcheck.go | ||
log.go |