The use case for this change is as follows
You have a CI job, which builds large make-based project.
You cache build results (/out folder, or any intermediate build results) and restore it back on the next CI run.
CI runner doesn't clean workspace between runs but could switch branches while building on different branches.
So, for the most runs - we don't need to restore mtime, it's required only if runner switched branches.
This PR adds option, which allows skip restore times of files, which was modified before some threshold, assuming, those files have already correct mtime.
The use case for this change is as follows You have a CI job, which builds large make-based project. You cache build results (/out folder, or any intermediate build results) and restore it back on the next CI run. CI runner doesn't clean workspace between runs but could switch branches while building on different branches.
So, for the most runs - we don't need to restore mtime, it's required only if runner switched branches.
This PR adds option, which allows skip restore times of files, which was modified before some threshold, assuming, those files have already correct mtime.