mirror of
https://github.com/aljazceru/breez-lnd.git
synced 2026-01-28 10:44:23 +01: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.