Overview of _NIOFileSystem
mainNIOFileSystem is a cross-platform file system library for Swift. It provides a concrete FileSystem implementation for interacting with the local file system and a set of protocols for building custom file system implementations.
Platform Considerations:
- Feature Parity: Platforms may not have identical system-level API parity (e.g., file cloning on Apple platforms).
- Feature Availability: Some features, such as extended attributes, may be disabled on certain systems.
- Path Representations: File paths vary by platform (e.g., POSIX-style
"/Users/hal9000/"on Apple/Linux vs. Windows-style"C:\Users\hal9000"on Windows). - File Information:
FileInforepresentations differ depending on the underlying platform.