mirror of
https://github.com/moby/moby.git
synced 2022-11-09 12:21:53 -05:00
a20fea1823
Signed-off-by: Alexander Morozov <lk4d4@docker.com>
11 lines
210 B
Go
11 lines
210 B
Go
// +build linux freebsd
|
|
|
|
package system
|
|
|
|
import "syscall"
|
|
|
|
// Unmount is a platform-specific helper function to call
|
|
// the unmount syscall.
|
|
func Unmount(dest string) error {
|
|
return syscall.Unmount(dest, 0)
|
|
}
|