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