Windows: fs::MetadataExt doesn't include a way to get ChangeTime #112327
Labels
A-io
Area: `std::io`, `std::fs`, `std::net` and `std::path`
O-windows
Operating system: Windows
T-libs-api
Relevant to the library API team, which will review and decide on the PR/issue.
There's a field in FILE_BASIC_INFO called ChangeTime that tracks when file metadata is changed, such as renaming, file attributes, etc.
Currently, this property isn't included in the
::sys::windows::fs::FileAttr
implementation, but should be available in thec::FILE_BASIC_INFO
impl.I have a fork that adds this field to the impl and I'd like to create a PR, but I thought it would make sense to create an issue first.
EDIT
BTW, apparently last write time is the last time the data stream changed so this actually represents a different time value.
source
The text was updated successfully, but these errors were encountered: