mirror of
https://github.com/genuinetools/reg.git
synced 2024-09-12 06:11:03 -04:00
10 lines
142 B
Go
10 lines
142 B
Go
![]() |
package container
|
||
|
|
||
|
import (
|
||
|
"golang.org/x/sys/unix"
|
||
|
)
|
||
|
|
||
|
func detachMounted(path string) error {
|
||
|
return unix.Unmount(path, unix.MNT_DETACH)
|
||
|
}
|