The mount package of darwin requires to retrive mountinfo to check if the target of unmount if still mounted or not. Thus pull the upstreamed version of moby/sys to support this operation. Signed-off-by: Hajime Tazaki <thehajime@gmail.com>
19 lines
399 B
Go
19 lines
399 B
Go
// +build !windows,!linux,!freebsd,!openbsd,!darwin freebsd,!cgo openbsd,!cgo darwin,!cgo
|
|
|
|
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
|
|
}
|