Skip to content

FileManager: support querying file ids on Windows #3119

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
Dec 18, 2021

Conversation

compnerd
Copy link
Member

The moral equivalent to the inode is the FileID on Windows. Populate
this properly into the FileInfo response from FileManager. This was
identified by a failure in the swift-driver test suite failing to
recursively resolve response files.

The moral equivalent to the inode is the FileID on Windows.  Populate
this properly into the FileInfo response from FileManager.  This was
identified by a failure in the swift-driver test suite failing to
recursively resolve response files.
@compnerd
Copy link
Member Author

@swift-ci please test

@millenomi
Copy link
Contributor

@swift-ci please test and merge

@compnerd
Copy link
Member Author

The macOS failure is expected:

/Users/buildnode/jenkins/workspace/swift-corelibs-foundation-PR-macOS/branch-main/swift-corelibs-foundation/Sources/Foundation/NSError.swift:50:12: error: 'Sendable' class 'NSError' cannot inherit from another class other than 'NSObject'

This is being tracked by: rdar://86495060

@compnerd compnerd merged commit 483f3ff into swiftlang:main Dec 18, 2021
@compnerd compnerd deleted the inodes branch December 18, 2021 01:17
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