Files
swift-nio/Sources/NIOFS/Docs.docc/Extensions/FileHandleProtocol.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

469 B

NIOFileSystem/FileHandleProtocol

Topics

File Information

  • info()

Permissions

  • replacePermissions(_:)
  • addPermissions(_:)
  • removePermissions(_:)

Extended Attributes

  • attributeNames()
  • valueForAttribute(_:)
  • updateValueForAttribute(_:attribute:)
  • removeValueForAttribute(_:)

Descriptor Management

  • synchronize()
  • withUnsafeDescriptor(_:)
  • detachUnsafeFileDescriptor()
  • close()