File tree Expand file tree Collapse file tree 7 files changed +59
-14
lines changed Expand file tree Collapse file tree 7 files changed +59
-14
lines changed Original file line number Diff line number Diff line change
1
+ .gitignore
2
+ .swiftformat
3
+ .swiftformatignore
4
+ .unacceptablelanguageignore
5
+ Brewfile
6
+
7
+ *.md
8
+ *.txt
9
+ *.yml
10
+ **/.editorconfig
11
+ **/*.docc/**
12
+ **/*.entitlements
13
+ **/*.input
14
+ **/*.modulemap
15
+ **/*.plist
16
+ **/*.xcodeproj/**
17
+ **/CODEOWNERS
18
+ **/Dockerfile
19
+ **/Package.swift
Original file line number Diff line number Diff line change 1
- //===--------------- Triple.swift - Swift Target Triples ------------------===//
1
+ //===---------------------------------------------------- ------------------===//
2
2
//
3
3
// This source file is part of the Swift open source project
4
4
//
Original file line number Diff line number Diff line change 1
-
2
1
//===----------------------------------------------------------------------===//
3
2
//
4
3
// This source file is part of the Swift open source project
5
4
//
6
5
// Copyright (c) 2020-2024 Apple Inc. and the Swift project authors
7
6
// Licensed under Apache License v2.0 with Runtime Library Exception
8
7
//
9
- // See http ://swift.org/LICENSE.txt for license information
10
- // See http ://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
8
+ // See https ://swift.org/LICENSE.txt for license information
9
+ // See https ://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
11
10
//
12
11
//===----------------------------------------------------------------------===//
13
12
Original file line number Diff line number Diff line change 1
- /*
2
- This source file is part of the Swift open source project
3
-
4
- Copyright (c) 2014 - 2024 Apple Inc. and the Swift project authors
5
- Licensed under Apache License v2.0 with Runtime Library Exception
6
-
7
- See http://swift.org/LICENSE.txt for license information
8
- See http://swift.org/CONTRIBUTORS.txt for Swift project authors
9
- */
1
+ //===----------------------------------------------------------------------===//
2
+ //
3
+ // This source file is part of the Swift open source project
4
+ //
5
+ // Copyright (c) 2014-2025 Apple Inc. and the Swift project authors
6
+ // Licensed under Apache License v2.0 with Runtime Library Exception
7
+ //
8
+ // See https://swift.org/LICENSE.txt for license information
9
+ // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ //
11
+ //===----------------------------------------------------------------------===//
10
12
11
13
import _Concurrency
12
14
Original file line number Diff line number Diff line change
1
+ //===----------------------------------------------------------------------===//
2
+ //
3
+ // This source file is part of the Swift open source project
4
+ //
5
+ // Copyright (c) 2025 Apple Inc. and the Swift project authors
6
+ // Licensed under Apache License v2.0 with Runtime Library Exception
7
+ //
8
+ // See https://swift.org/LICENSE.txt for license information
9
+ // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ //
11
+ //===----------------------------------------------------------------------===//
12
+
1
13
extension String {
2
14
func hasAnyPrefix( from array: [ String ] ) -> Bool {
3
15
for item in array {
Original file line number Diff line number Diff line change 2
2
//
3
3
// This source file is part of the Swift open source project
4
4
//
5
- // Copyright (c) 2022-202Apple Inc. and the Swift project authors
5
+ // Copyright (c) 2022-2024 Apple Inc. and the Swift project authors
6
6
// Licensed under Apache License v2.0 with Runtime Library Exception
7
7
//
8
8
// See https://swift.org/LICENSE.txt for license information
Original file line number Diff line number Diff line change
1
+ //===----------------------------------------------------------------------===//
2
+ //
3
+ // This source file is part of the Swift open source project
4
+ //
5
+ // Copyright (c) 2024-2025 Apple Inc. and the Swift project authors
6
+ // Licensed under Apache License v2.0 with Runtime Library Exception
7
+ //
8
+ // See https://swift.org/LICENSE.txt for license information
9
+ // See https://swift.org/CONTRIBUTORS.txt for the list of Swift project authors
10
+ //
11
+ //===----------------------------------------------------------------------===//
12
+
13
+
1
14
#if canImport(Darwin)
2
15
import Darwin
3
16
#elseif canImport(Glibc)
You can’t perform that action at this time.
0 commit comments