lnd/healthcheck/diskcheck_js.go

16 lines
472 B
Go
Raw Normal View History

package healthcheck
2021-07-28 10:58:41 +02:00
import "fmt"
// AvailableDiskSpaceRatio returns ratio of available disk space to total
// capacity.
2021-07-28 10:58:41 +02:00
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.
2021-07-28 10:58:41 +02:00
func AvailableDiskSpace(_ string) (uint64, error) {
return 0, fmt.Errorf("disk space check not supported in WebAssembly")
}