Commit Graph

3 Commits

Author SHA1 Message Date
Robert Haines cef3bc0784 A test to ensure find/get entry calls agree. 2019-10-31 17:27:19 +00:00
Robert Haines 1a21f39e82 Add a test for restoring file permissions on extract. 2019-10-20 19:30:34 +01:00
Robert Haines 8c694d38ee Add functionality to restore file timestamps.
There has been an option in `Zip::File` (`:restore_times`) for a long
time, but it seems it has never worked. Firstly the actual timestamp of
an added file wasn't being saved, and secondly an extracted file wasn't
having its timestamp set correctly.

This commit fixes both of those issues, and adds tests to make sure.
2019-10-20 19:30:27 +01:00