ReadOnly returns a boolean value indicating whether this mount has the "ro" option set.
()
| 90 | // ReadOnly returns a boolean value indicating whether this mount has the "ro" |
| 91 | // option set. |
| 92 | func (m *Mount) ReadOnly() bool { |
| 93 | return slices.Contains(m.Options, "ro") |
| 94 | } |
| 95 | |
| 96 | // Mount to the provided target path. |
| 97 | func (m *Mount) Mount(target string) error { |
no outgoing calls
no test coverage detected