(nerdctlMounts string)
| 1220 | } |
| 1221 | |
| 1222 | func parseMounts(nerdctlMounts string) ([]MountPoint, error) { |
| 1223 | var mounts []MountPoint |
| 1224 | err := json.Unmarshal([]byte(nerdctlMounts), &mounts) |
| 1225 | if err != nil { |
| 1226 | return nil, err |
| 1227 | } |
| 1228 | |
| 1229 | return mounts, nil |
| 1230 | } |
| 1231 | |
| 1232 | func ParseMountProperties(option []string) (rw bool, propagation string) { |
| 1233 | rw = true |
no test coverage detected
searching dependent graphs…