mirror of
https://github.com/apple/swift-nio
synced 2026-11-26 04:57:49 +00:00
Motivation: We accidentally removed the 'NIOFileSystem' module from the '_NIOFileSystem' product in the last release. Modifications: - Rename 'NIOFileSystem' and 'NIOFileSystemFoundationCompat' to 'NIOFS' and 'NIOFSFoundationCompat' - Add back 'NIOFileSystem' which re-exports '_NIOFileSystem' (there was no publicly available 'NIOFileSystemFoundationCompat' module to remove, only '_NIOFileSystemFoundationCompat'). Result: Fewer breaks
264 B
264 B
NIOFileSystem/WritableFileHandleProtocol
Topics
Write bytes to a file
write(contentsOf:toAbsoluteOffset:)write(contentsOf:toAbsoluteOffset:)bufferedWriter(startingAtAbsoluteOffset:capacity:)
Resize a file
resize(to:)