unmount is a simple unix.Unmount wrapper.
(target string, flags int)
| 210 | |
| 211 | // unmount is a simple unix.Unmount wrapper. |
| 212 | func unmount(target string, flags int) error { |
| 213 | err := unix.Unmount(target, flags) |
| 214 | if err != nil { |
| 215 | return &mountError{ |
| 216 | op: "unmount", |
| 217 | target: target, |
| 218 | flags: uintptr(flags), |
| 219 | err: err, |
| 220 | } |
| 221 | } |
| 222 | return nil |
| 223 | } |
| 224 | |
| 225 | // syscallMode returns the syscall-specific mode bits from Go's portable mode bits. |
| 226 | // Copy from https://cs.opensource.google/go/go/+/refs/tags/go1.20.7:src/os/file_posix.go;l=61-75 |
no outgoing calls
no test coverage detected
searching dependent graphs…