Skip to content

Commit

Permalink
upped resolution of mtime to nanoseconds
Browse files Browse the repository at this point in the history
  • Loading branch information
tclose committed Sep 25, 2023
1 parent 4654ff6 commit 32b91ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pydra/utils/hash.py
Original file line number Diff line number Diff line change
Expand Up @@ -376,7 +376,7 @@ def bytes_repr_fileset(
fspaths = sorted(fileset.fspaths)
yield CacheKey(
tuple(repr(p) for p in fspaths) # type: ignore[arg-type]
+ tuple(p.lstat().st_mtime for p in fspaths)
+ tuple(p.lstat().st_mtime_ns for p in fspaths)
)
yield from fileset.__bytes_repr__(cache)

Expand Down

0 comments on commit 32b91ba

Please sign in to comment.