File tree Expand file tree Collapse file tree 4 files changed +5
-5
lines changed
Expand file tree Collapse file tree 4 files changed +5
-5
lines changed Original file line number Diff line number Diff line change 1- // swift-tools-version: 5.9
1+ // swift-tools-version: 6.0
22
33import PackageDescription
44
Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ import Clibgit2
1010
1111/// The flags defining how a checkout should be performed.
1212/// More detail is available in the libgit2 documentation for `git_checkout_strategy_t`.
13- public struct CheckoutStrategy : OptionSet {
13+ public struct CheckoutStrategy : OptionSet , Sendable {
1414 private let value : UInt
1515
1616 // MARK: - Initialization
Original file line number Diff line number Diff line change @@ -60,7 +60,7 @@ public struct Diff {
6060 }
6161 }
6262
63- public struct Status : OptionSet {
63+ public struct Status : OptionSet , Sendable {
6464 // This appears to be necessary due to bug in Swift
6565 // https://bugs.swift.org/browse/SR-3003
6666 public init ( rawValue: UInt32 ) {
@@ -84,7 +84,7 @@ public struct Diff {
8484 public static let conflicted = Status ( rawValue: GIT_STATUS_CONFLICTED . rawValue)
8585 }
8686
87- public struct Flags : OptionSet {
87+ public struct Flags : OptionSet , Sendable {
8888 // This appears to be necessary due to bug in Swift
8989 // https://bugs.swift.org/browse/SR-3003
9090 public init ( rawValue: UInt32 ) {
Original file line number Diff line number Diff line change 55import Clibgit2
66import Foundation
77
8- public struct StatusOptions : OptionSet {
8+ public struct StatusOptions : OptionSet , Sendable {
99 public let rawValue : UInt32
1010
1111 public init ( rawValue: UInt32 ) {
You can’t perform that action at this time.
0 commit comments