apple/swift-nio
View on GitHubProvide a current user home directory API in FileSystem
Open
#3,381 opened on Sep 24, 2025
good first issuekind/feature
Repository metrics
- Stars
- (8,453 stars)
- PR merge metrics
- (Avg merge 9d 10h) (15 merged PRs in 30d)
Description
Currently NIOFileSystem offers current working directory and temp working directory as a way to get various directories. It would be great to provide an API to get the user's current working directory, equivalent to FileManager.default.homeDirectoryForCurrentUser