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

@@ -14,7 +14,7 @@
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) || os(Linux) || os(Android)
import NIOCore
import NIOFileSystem
import _NIOFileSystem
import XCTest
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
@@ -14,7 +14,7 @@
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) || os(Linux) || os(Android)
import NIOCore
@_spi(Testing) import NIOFileSystem
@_spi(Testing) import _NIOFileSystem
import XCTest
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
@@ -14,7 +14,7 @@
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) || os(Linux) || os(Android)
import NIOCore
import NIOFileSystem
import _NIOFileSystem
import XCTest
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)
@@ -14,7 +14,7 @@
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) || os(Linux) || os(Android)
import NIOCore
@_spi(Testing) import NIOFileSystem
@_spi(Testing) import _NIOFileSystem
import NIOFoundationCompat
import XCTest
@@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) || os(Linux) || os(Android)
@_spi(Testing) import NIOFileSystem
@_spi(Testing) import _NIOFileSystem
import SystemPackage
import XCTest
@@ -14,7 +14,7 @@
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) || os(Linux) || os(Android)
import NIOCore
@_spi(Testing) import NIOFileSystem
@_spi(Testing) import _NIOFileSystem
@preconcurrency import SystemPackage
import XCTest
@@ -13,7 +13,7 @@
//===----------------------------------------------------------------------===//
#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS) || os(Linux) || os(Android)
import NIOFileSystem
import _NIOFileSystem
import XCTest
@available(macOS 10.15, iOS 13.0, watchOS 6.0, tvOS 13.0, *)