mirror of
https://github.com/octoleo/syncthing.git
synced 2024-11-15 01:34:05 +00:00
14 lines
280 B
Go
14 lines
280 B
Go
|
// +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
|
||
|
}
|