You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
@available(*, deprecated, renamed:"init(archiveURL:outputURL:bundleIdentifier:sortRootChildrenByName:groupByLanguage:writePathsOnDisk:usePageTitle:)", message:"Use 'init(archiveURL:outputURL:bundleIdentifier:sortRootChildrenByName:groupByLanguage:writePathsOnDisk:usePageTitle:)' instead. This deprecated API will be removed after 6.2 is released")
Copy file name to clipboardExpand all lines: Sources/SwiftDocC/Infrastructure/Workspace/FileSystemProvider.swift
+3-1
Original file line number
Diff line number
Diff line change
@@ -1,7 +1,7 @@
1
1
/*
2
2
This source file is part of the Swift.org open source project
3
3
4
-
Copyright (c) 2021 Apple Inc. and the Swift project authors
4
+
Copyright (c) 2021-2024 Apple Inc. and the Swift project authors
5
5
Licensed under Apache License v2.0 with Runtime Library Exception
6
6
7
7
See https://swift.org/LICENSE.txt for license information
@@ -11,12 +11,14 @@
11
11
import Foundation
12
12
13
13
/// A type that vends a tree of virtual filesystem objects.
14
+
@available(*, deprecated, message:"Use 'FileManagerProtocol.recursiveFiles(startingPoint:)' instead. This deprecated API will be removed after 6.2 is released.")
14
15
publicprotocolFileSystemProvider{
15
16
/// The organization of the files that this provider provides.
16
17
varfileSystem:FSNode{get}
17
18
}
18
19
19
20
/// An element in a virtual filesystem.
21
+
@available(*, deprecated, message:"This deprecated API will be removed after 6.2 is released.")
@available(*, deprecated, message:"This deprecated API will be removed after 6.2 is released.")
145
146
fileprivateextension[FSNode]{
146
147
/// Returns the first file that matches a given predicate.
147
148
/// - Parameter predicate: A closure that takes a file as its argument and returns a Boolean value indicating whether the file should be returned from this function.
0 commit comments