mirror of https://github.com/containers/image.git
Instead of supplying literals to ensureParentDirectoryExists, first compute the path of the file within the directory using the ociReference methods, and then use that to compute the parent directory path. Should not change behavior, except that filepath.Dir() implicitly calls filepath.Clean(), apparently incompatible with UNIX path semantics. But then we always call filepath.Join() with the same d.ref.dir input, which makes the same implicit call, and Go's handling of symlinks and .. seems close-to-unfixably broken in general, and trying to fix that only here is rather pointless: https://github.com/golang/go/issues/4382 Signed-off-by: Miloslav Trmač <mitr@redhat.com> |
||
|---|---|---|
| directory | ||
| docker | ||
| image | ||
| manifest | ||
| oci | ||
| openshift | ||
| signature | ||
| transports | ||
| types | ||
| version | ||
| .pullapprove.yml | ||
| .travis.yml | ||
| LICENSE | ||
| MAINTAINERS | ||
| Makefile | ||
| README.md | ||
| doc.go | ||
README.md
image is a set of Go libraries aimed at working in various way with containers' images.
License
ASL 2.0
Contact
- Mailing list: containers-dev
- IRC: #container-projects on freenode.org