mirror of
https://github.com/apple/swift-nio
synced 2026-11-23 04:34:23 +00:00
Motivation: Renaming the `NIOFileSystem` module to `_NIOFileSystem` is a breaking change (which is okay, it's documented to be unstable API). However, users will be presented with a wall of build errors on updating to the next version of NIO. We can make the transition slightly easier for them. Modifications: Add back a `NIOFileSystem` module which re-exports `_NIOFileSystem` and add it as a target to the `_NIOFileSystem` product. This makes both modules available to users. We can then remove `NIOFileSystem` after a grace period. Result: Users can still build using `NIOFileSystem` but can transition to `_NIOFileSystem`.
16 lines
526 B
Swift
16 lines
526 B
Swift
//===----------------------------------------------------------------------===//
|
|
//
|
|
// This source file is part of the SwiftNIO open source project
|
|
//
|
|
// Copyright (c) 2024 Apple Inc. and the SwiftNIO project authors
|
|
// Licensed under Apache License v2.0
|
|
//
|
|
// See LICENSE.txt for license information
|
|
// See CONTRIBUTORS.txt for the list of SwiftNIO project authors
|
|
//
|
|
// SPDX-License-Identifier: Apache-2.0
|
|
//
|
|
//===----------------------------------------------------------------------===//
|
|
|
|
@_exported import _NIOFileSystem
|