On Unix, the Rust standard library exposes mtime and mtime_nsec methods
for std::fs::Metada whih is exactly what we need to construct a
TruncatedTimestamp. This skips the computation in the conversion through
SystemTime and Result<Duration, Duration>.
Details
Details
- Reviewers
pulkit - Group Reviewers
hg-reviewers - Commits
- rHG15dedc0c5c35: status: Extract TruncatedTimestamp from fs::Metadata without SystemTime
Diff Detail
Diff Detail
- Repository
- rHG Mercurial
- Branch
- default
- Lint
No Linters Available - Unit
No Unit Test Coverage