mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
4178caade6
full diff: https://github.com/moby/sys/compare/mountinfo/v0.6.0...mountinfo/v0.6.2 - update golang.org/x/sys v0.0.0-20220412211240-33da011f77ad - mountinfo: BSDs no longer need cgo nor reflect - mountinfo: update doc to use fs.ErrNotExist - Bump x/sys/unix Signed-off-by: Sebastiaan van Stijn <github@gone.nl>
19 lines
426 B
Go
19 lines
426 B
Go
//go:build !windows && !linux && !freebsd && !openbsd && !darwin
|
|
// +build !windows,!linux,!freebsd,!openbsd,!darwin
|
|
|
|
package mountinfo
|
|
|
|
import (
|
|
"fmt"
|
|
"runtime"
|
|
)
|
|
|
|
var errNotImplemented = fmt.Errorf("not implemented on %s/%s", runtime.GOOS, runtime.GOARCH)
|
|
|
|
func parseMountTable(_ FilterFunc) ([]*Info, error) {
|
|
return nil, errNotImplemented
|
|
}
|
|
|
|
func mounted(path string) (bool, error) {
|
|
return false, errNotImplemented
|
|
}
|