1
0
Fork 0
mirror of https://github.com/lightningnetwork/lnd.git synced 2025-03-14 19:40:54 +01:00
lnd/healthcheck/diskcheck_js.go
2021-07-28 11:01:27 +02:00

15 lines
472 B
Go

package healthcheck
import "fmt"
// AvailableDiskSpaceRatio returns ratio of available disk space to total
// capacity.
func AvailableDiskSpaceRatio(_ string) (float64, error) {
return 0, fmt.Errorf("disk space check not supported in WebAssembly")
}
// AvailableDiskSpace returns the available disk space in bytes of the given
// file system.
func AvailableDiskSpace(_ string) (uint64, error) {
return 0, fmt.Errorf("disk space check not supported in WebAssembly")
}