Enable builds on OSX Upstream-commit: 7bc96aec7bf978e87cb87935bd55f85e2cb1664a Component: engine
14 lines
260 B
Go
14 lines
260 B
Go
package mount
|
|
|
|
import (
|
|
"syscall"
|
|
)
|
|
|
|
func mount(device, target, mType string, flag uintptr, data string) error {
|
|
return syscall.Mount(device, target, mType, flag, data)
|
|
}
|
|
|
|
func unmount(target string, flag int) error {
|
|
return syscall.Unmount(target, flag)
|
|
}
|