Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
ociarchive: Return
ImageNotFound
if the file isn't present
This is for containers/skopeo#2114 which is in turn a dependency of coreos/rpm-ostree#4598 Basically I want to map ENOENT to `ImageNotFound`, because the build tooling wants to treat "target image is not present" differently from "DNS lookup failed" or "we got EPERM". There's a bit of code motion here because we need to move the `os.Open()` call before creating a temporary directory.
- Loading branch information