alexcrichton / filetime

Accessing file timestamps in a platform-agnostic fashion in Rust
Apache License 2.0
122 stars 56 forks source link

Implement From<SystemTime> for FileTime #25

Closed drrlvn closed 6 years ago

drrlvn commented 6 years ago

This should be more ergonomic than using filetime::FileTime::from_system_time().

alexcrichton commented 6 years ago

Certainly! This may have been added at a time where SystemTime was only recently stabilized, but I'd be totally up for adding such an impl today!