containerd/archive
Derek McGowan 51b8e468e5
Fix hardlinks with unmodified files
Previously hardlinking to an unmodified file or linking to a file
which was touched by not detected as modified caused a new file
to be created on unpack. This new file and the original source file
were not linked since no link record was created in the tar. This
change addresses this by adding links for all hardlinks to a file
when it is detected as changed. These links will be written after
the source file is written and may occur out of order in regard to
file name.

Signed-off-by: Derek McGowan <derek@mcgstyle.net>
2017-04-04 15:00:19 -07:00
..
compression archive,cmd,images: clean up some code 2017-03-30 11:41:22 +03:00
tar_linux.go archive,cmd,fs: return err directly 2017-03-30 11:32:13 +03:00
tar_test.go Update tar test to avoid touching before hardlinking 2017-04-04 15:00:12 -07:00
tar_windows.go Rewrite imports for new github org 2017-04-03 14:05:44 -07:00
tar.go Fix hardlinks with unmodified files 2017-04-04 15:00:19 -07:00
time_linux.go Add archive package 2017-02-17 11:49:58 -08:00
time_windows.go Add archive package 2017-02-17 11:49:58 -08:00
time.go Add archive package 2017-02-17 11:49:58 -08:00