Work with containers' images
Go to file
Miloslav Trmač 0cf04c4adf Do not duplicate OCI subdirectory paths
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>
2016-07-18 21:20:00 +02:00
directory Move the directory path helpers to dirReference 2016-07-18 21:19:58 +02:00
docker Add policy configuration scope validation 2016-07-18 21:07:28 +02:00
image Replace IntendedDockerReference by Reference().DockerReference 2016-07-16 05:08:38 +02:00
manifest oci: override all mime types 2016-06-30 00:33:12 +02:00
oci Do not duplicate OCI subdirectory paths 2016-07-18 21:20:00 +02:00
openshift Add policy configuration scope validation 2016-07-18 21:07:28 +02:00
signature Add policy configuration scope validation 2016-07-18 21:07:28 +02:00
transports Add containers/image/transports subpackage 2016-07-16 05:08:38 +02:00
types Add policy configuration scope validation 2016-07-18 21:07:28 +02:00
version version: adjust variables 2016-06-27 17:44:35 +02:00
.pullapprove.yml *: add pullapprove 2016-06-27 16:34:59 +02:00
.travis.yml Add (make test-skopeo) and run it in Travis CI 2016-07-04 10:27:38 +02:00
LICENSE Move to Apache 2 license 2016-06-24 11:35:34 -07:00
MAINTAINERS *: add MAINTAINERS 2016-06-27 16:34:59 +02:00
Makefile Fix gofmt test. 2016-07-18 21:19:25 +02:00
README.md README.md: remove todo 2016-07-05 16:32:02 +02:00
doc.go Add types.ImageTransport and types.ImageReference 2016-07-16 05:08:38 +02:00

README.md

GoDoc Build Status

image is a set of Go libraries aimed at working in various way with containers' images.

License

ASL 2.0

Contact