Skip to content

Foundation: populate the .creationDate attribute on Windows #2884

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

Merged
merged 1 commit into from
Sep 28, 2020

Conversation

compnerd
Copy link
Member

Ensure that we pass along the creation date from stat when querying
the attributes of an item. This was being dropped resulting in the
creation date for files being unavailable.

Partially addresses SR-13617

@compnerd
Copy link
Member Author

@swift-ci please test

@compnerd
Copy link
Member Author

CC: @spevans @millenomi

@millenomi
Copy link
Contributor

@swift-ci please test

@compnerd
Copy link
Member Author

compnerd commented Sep 28, 2020

Hmm, appears that st_ctime is not available on Darwin's stbuf?

@compnerd compnerd force-pushed the populate-creationDate branch from c49db21 to 423d089 Compare September 28, 2020 15:37
@compnerd
Copy link
Member Author

@swift-ci please test

Ensure that we pass along the creation date from `stat` when querying
the attributes of an item.  This was being dropped resulting in the
creation date for files being unavailable.

Fixes: SR-13617
@compnerd
Copy link
Member Author

@swift-ci please test

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