Files
swift-nio/Sources/NIOFS/Docs.docc/Extensions/WritableFileHandleProtocol.md
George Barnett a18bddb0ac Add back NIOFileSystem (#3380)
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
2025-09-23 17:29:01 +01:00

13 lines
264 B
Markdown

# ``NIOFileSystem/WritableFileHandleProtocol``
## Topics
### Write bytes to a file
- ``write(contentsOf:toAbsoluteOffset:)``
- ``write(contentsOf:toAbsoluteOffset:)``
- ``bufferedWriter(startingAtAbsoluteOffset:capacity:)``
### Resize a file
- ``resize(to:)``