Files
rclone/lib/diskusage/diskusage_unsupported.go
Nick Craig-Wood d67aa9cc7b build: make rclone compile with GOOS=wasip1 GOARCH=wasm #7831
This now compiles but the link doesn't work because of

https://github.com/golang/go/issues/64856
2025-07-09 10:53:03 +01:00

11 lines
262 B
Go

//go:build illumos || js || plan9 || solaris || wasm
package diskusage
// New returns the disk status for dir.
//
// May return Unsupported error if it doesn't work on this platform.
func New(dir string) (info Info, err error) {
return info, ErrUnsupported
}