Underscore the NIOFileSystem module (#2683)

Motivation:

The 'NIOFileSystem' target isn't yet stable API and is made available
via the '_NIOFileSystemModule' product. This doesn't make it obvious
enough that the module isn't yet considered stable.

Modifications:

- Rename 'NIOFileSystem' and 'NIOFileSystemFoundationCompat' such that
  they are prefixed with '_'.

Result:

More obviously not stable API
This commit is contained in:
George Barnett authored and GitHub committed 2024-03-14 08:16:36 -07:00
1 parent b92e058cf8
commit df5745d6be
33 files changed
+62 -60

No files matched your search

@@ -1,4 +1,4 @@
# ``NIOFileSystem/DirectoryFileHandleProtocol``
# ``_NIOFileSystem/DirectoryFileHandleProtocol``
## Topics
@@ -1,4 +1,4 @@
# ``NIOFileSystem/FileHandleProtocol``
# ``_NIOFileSystem/FileHandleProtocol``
## Topics
@@ -1,4 +1,4 @@
# ``NIOFileSystem/FileSystemProtocol``
# ``_NIOFileSystem/FileSystemProtocol``
## Topics
@@ -1,4 +1,4 @@
# ``NIOFileSystem/ReadableFileHandleProtocol``
# ``_NIOFileSystem/ReadableFileHandleProtocol``
## Topics
@@ -6,12 +6,12 @@
- ``bufferedReader(startingAtAbsoluteOffset:capacity:)``
- ``readChunks(chunkLength:)``
- ``readChunks(in:chunkLength:)-8of2k``
- ``readChunks(in:chunkLength:)-4l2zx``
- ``readChunks(in:chunkLength:)-8xhv9``
- ``readChunks(in:chunkLength:)-ecdr``
- ``readChunks(in:chunkLength:)-ecdr``
- ``readChunks(in:chunkLength:)-8ty3f``
- ``readChunks(in:chunkLength:)-2j7r7``
- ``readChunks(in:chunkLength:)-63rn``
- ``readChunks(in:chunkLength:)-3fxd``
- ``readChunks(in:chunkLength:)-9oae1``
- ``readChunks(in:chunkLength:)-7rjf6``
- ``readChunks(in:chunkLength:)-7a8x2``
- ``readToEnd(fromAbsoluteOffset:maximumSizeAllowed:)``
### Read part of a file
@@ -1,4 +1,4 @@
# ``NIOFileSystem/WritableFileHandleProtocol``
# ``_NIOFileSystem/WritableFileHandleProtocol``
## Topics
@@ -1,4 +1,4 @@
# ``NIOFileSystem``
# ``_NIOFileSystem``
A file system library for Swift.
@@ -8,7 +8,7 @@ This module implements a file system library for Swift, providing ways to intera
files. It provides a concrete ``FileSystem`` for interacting with the local file system in addition
to a set of protocols for creating other file system implementations.
``NIOFileSystem`` is cross-platform with the following caveats:
``_NIOFileSystem`` is cross-platform with the following caveats:
- _Platforms don't have feature parity or system-level API parity._ Where this is the case these
implementation details are documented. One example is copying files, on Apple platforms files are
cloned if possible.
@@ -24,7 +24,7 @@ to a set of protocols for creating other file system implementations.
The following sample code demonstrates a number of the APIs offered by this module:
```swift
import NIOFileSystem
import _NIOFileSystem
// NIOFileSystem provides access to the local file system via the FileSystem
// type which is available as a global shared instance.