Updates to present docs on _NIOFileSystem (#3477)

This re-enables documentation lost during refactoring work, under the
target _NIOFileSystem

resolves #3474 

### Motivation:

During the refactoring of NIOFileSystem and recent Swift updates, the
mechanism to "shadow" symbols using `@_exported import` has stopped
working for documentation and imports for symbols, which means that
_NIOFileSystem is the target that needs to host the documentation for
this (for now)

### Modifications:

Moves DocC catalog into _NIOFileSystem target, and updates
disambiguation hashes on overloaded symbols in order to verify no
warnings are presented while generating documentation.
Updates .spi.yml to present _NIOFileSystem instead of NIOFileSystem

### Result:

Previous documentation should be available again, although at a slightly
different URI structure within Swift Package Index.

Co-authored-by: Cory Benfield <lukasa@apple.com>
This commit is contained in:
Joseph HeckandCory Benfield authored and GitHub committed 2026-01-13 14:22:46 +00:00
1 parent d779d6d104
commit 6b33489e64
11 files changed
+37 -30

No files matched your search

+1 -1
View File
@@ -607,7 +607,7 @@ public struct FileSystem: Sendable, FileSystemProtocol {
/// The destination of the symbolic link is not guaranteed to be a valid path, nor is it
/// guaranteed to be an absolute path. If you need to open a file which is the destination of a
/// symbolic link then the appropriate `open` function:
/// - ``openFile(forReadingAt:)-55z6f``
/// - ``openFile(forReadingAt:options:)
/// - ``openFile(forWritingAt:options:)``
/// - ``openFile(forReadingAndWritingAt:options:)``
/// - ``openDirectory(atPath:options:)``