mirror of
https://github.com/lightningnetwork/lnd.git
synced 2024-11-19 18:10:34 +01:00
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 |