Signed-off-by: John Howard <jhoward@microsoft.com> Upstream-commit: 853f2e9952b94c52101d69003161b654a7cd4384 Component: engine
12 lines
197 B
Go
12 lines
197 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) {
|
|
syscall.Unmount(dest, 0)
|
|
}
|