github.com/docker/docker@v299999999.0.0-20200612211812-aaf470eca7b5+incompatible/pkg/system/syscall_unix.go (about) 1 // +build linux freebsd 2 3 package system // import "github.com/docker/docker/pkg/system" 4 5 import "golang.org/x/sys/unix" 6 7 // Unmount is a platform-specific helper function to call 8 // the unmount syscall. 9 func Unmount(dest string) error { 10 return unix.Unmount(dest, 0) 11 }