Skip to content

Windows: fs::MetadataExt doesn't include a way to get ChangeTime #112327

Closed
@juliusl

Description

@juliusl

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 the c::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

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-ioArea: `std::io`, `std::fs`, `std::net` and `std::path`O-windowsOperating system: WindowsT-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions