Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

add last_write_time to metadata #22

Closed
wants to merge 1 commit into from
Closed

add last_write_time to metadata #22

wants to merge 1 commit into from

Conversation

rustysec
Copy link

i added a feature which brings in chrono and the timezoneapi and minwinbase from winapi to provide a little abstraction of the FILETIME object that windows provides. with the feature on it extends RegKeyMetadata structure to provide the last_write_time field.

i also noticed when i opened the pr that rustfmt got hold of lib.rs and did some reformatting... i can definitely back out of that if you want.

@gentoo90
Copy link
Owner

I rustfmted everything. Can you rebase, so I could see which changes are yours?

@gentoo90
Copy link
Owner

Ok, so this pull-request was superseded by this which allows to get last_write_time without chrono and puts a conversion function under chrono feature.
Published to crates.io

Changelog

0.6.1

  • Add last_write_time field to RegKeyMetadata (returned by RegKey::query_info()) (#25).
  • Add get_last_write_time_system() and get_last_write_time_chrono() (under chrono feature) methods to RegKeyMetadata.

@gentoo90 gentoo90 closed this Jul 17, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants