newResolver returns a resolver struct
(conSpec *oci.Spec, hostRoot string)
| 245 | |
| 246 | // newResolver returns a resolver struct |
| 247 | func newResolver(conSpec *oci.Spec, hostRoot string) *resolver { |
| 248 | return &resolver{ |
| 249 | root: conSpec.Root, |
| 250 | mounts: conSpec.Mounts, |
| 251 | hostRoot: hostRoot, |
| 252 | } |
| 253 | } |
| 254 | |
| 255 | // pathOnHost will return the *host* location of a container path, accounting for volumes. |
| 256 | // The provided path must be fully resolved, as returned by `resolvePath`. |
no outgoing calls
no test coverage detected
searching dependent graphs…