treefmt/test/examples/yaml
Brian McGee 85ce0a2f74
fix: use second precision when comparing file mod times
We were using whatever precision the underlying file system was giving us, and in some cases that can be very detailed. Some formatters mess with the mod time, but not to the same precision (e.g. dos2unix).

POSIX also specifies that mod time should be EPOCH (second) precision.

This change brings us back in line with how 1.x worked, and should resolve issues with false fail on change errors.
2024-07-06 17:38:43 +01:00
..
test.yaml fix: use second precision when comparing file mod times 2024-07-06 17:38:43 +01:00