mirror of
https://github.com/rclone/rclone.git
synced 2025-08-13 15:37:26 +02:00
Add lib/diskusage to measure used/free on disks
This commit is contained in:
10
lib/diskusage/diskusage_unsupported.go
Normal file
10
lib/diskusage/diskusage_unsupported.go
Normal file
@ -0,0 +1,10 @@
|
||||
//go:build illumos || js || plan9 || solaris
|
||||
|
||||
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
|
||||
}
|
Reference in New Issue
Block a user