First, archive/tar now uses PAX tar format which allows for sub-second resolutions (https://pkg.go.dev/archive/tar#Format). This only affects rebuild's, so previosly built archive will not be broken.
And then extracting files, it sets times if file header container modification time.
Please not that only files' timestamps are currently restored, not directories'.
Description
In line with the liked issue, currently restored files (when using filesystem backend) do not preserve original timestamps, which leads to some build systems to rebuild. This PR fixes that.
Fixes #210
Proposed Changes
Description
In line with the liked issue, currently restored files (when using filesystem backend) do not preserve original timestamps, which leads to some build systems to rebuild. This PR fixes that.
Checklist
Unreleased
section of CHANGELOG.