moby--moby/image/tarexport
Derek McGowan e111f0c7b2 Fix calculation of relative path for symlink on docker save
Relative paths are now calculated from a base path rather than from the file path, which gets treated like a directory.
Symlinks will now properly point to the file as "../<layer dir>/layer.tar" rather the incorrect "../../<layer dir>/layer.tar".

Fixes #24951

Signed-off-by: Derek McGowan <derek@mcgstyle.net> (github: dmcgowan)
(cherry picked from commit 5487881e12)
Signed-off-by: Tibor Vass <tibor@docker.com>
2016-07-26 01:49:29 -07:00
..
load.go Say something useful during docker load 2016-06-08 17:17:05 +02:00
save.go Fix calculation of relative path for symlink on docker save 2016-07-26 01:49:29 -07:00
tarexport.go Use describable interfaces 2016-06-06 17:49:34 -07:00