Skip to content

Conversation

daveinglis
Copy link
Contributor

In order to remove the libc getcwd dependency and move it to the the foundation FileManager.currentDirectoryPath API we needed a C callable method that the swift-corelib-foundation could use in its NSURL implementation.

This will allow any platform specifics in the
FileManager.currentDirectoryPath implementation (like prefix striping on Windows) to be handled in a single location.

In order to remove the libc getcwd dependency and move it to the the
foundation FileManager.currentDirectoryPath API we needed a C callable
method that the swift-corelib-foundation could use in its NSURL
implementation.

This will allow any platform specifics in the
FileManager.currentDirectoryPath implementation (like prefix striping on
Windows) to be handled in a single location.
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.

1 participant