mirror of
https://github.com/lightningnetwork/lnd.git
synced 2026-08-14 12:42:48 +02:00
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.go | ||
| diskcheck_netbsd.go | ||
| diskcheck_openbsd.go | ||
| diskcheck_solaris.go | ||
| diskcheck_windows.go | ||
| healthcheck.go | ||
| healthcheck_test.go | ||
| log.go | ||