mirror of
https://github.com/apple/swift-nio
synced 2026-11-24 04:37:54 +00:00
### Motivation: Makes it possible to read contents of an NIOFileSystem.FilePath into a String directly. Closes #3010. ### Modifications: - Added a new `String+FileSystem.swift` into `NIOFileSystem` target. - Added basic tests to the existing `ConvenienceTests.swift`. - Added a test to cover `Array+FileSystem` initializer as well. ### Result: - String initializer for `FilePath` is now available - Array initializer for `FilePath` now has a test --------- Co-authored-by: George Barnett <gbarnett@apple.com> Co-authored-by: Cory Benfield <lukasa@apple.com>