github.com/sld880311/docker@v0.0.0-20200524143708-d5593973a475/volume/local/unmount_unix.go (about)

     1  // +build !linux,!windows
     2  
     3  package local
     4  
     5  import "golang.org/x/sys/unix"
     6  
     7  func unmount(path string) error {
     8  	return unix.Unmount(path, 0)
     9  }