syncthing/vendor/github.com/calmh/du/diskusage_unsupported.go

14 lines
280 B
Go
Raw Normal View History

// +build netbsd openbsd solaris
package du
import "errors"
var ErrUnsupported = errors.New("unsupported platform")
// Get returns the Usage of a given path, or an error if usage data is
// unavailable.
func Get(path string) (Usage, error) {
return Usage{}, ErrUnsupported
}