File tree Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Expand file tree Collapse file tree 4 files changed +13
-2
lines changed Original file line number Diff line number Diff line change @@ -326,3 +326,7 @@ public struct LLBCASBlob {
326
326
}
327
327
}
328
328
}
329
+
330
+ #if swift(>=5.5) && canImport(_Concurrency)
331
+ extension LLBCASBlob : Sendable { }
332
+ #endif // swift(>=5.5) && canImport(_Concurrency)
Original file line number Diff line number Diff line change @@ -15,7 +15,7 @@ import TSCUtility
15
15
16
16
17
17
/// A main API struct
18
- public struct LLBCASFSClient {
18
+ public struct LLBCASFSClient : Sendable {
19
19
public let db : LLBCASDatabase
20
20
21
21
/// Errors produced by CASClient
Original file line number Diff line number Diff line change @@ -17,7 +17,7 @@ public struct LLBCASFSNode {
17
17
case notApplicable
18
18
}
19
19
20
- public enum NodeContent {
20
+ public enum NodeContent : Sendable {
21
21
case tree( LLBCASFileTree )
22
22
case blob( LLBCASBlob )
23
23
}
@@ -80,3 +80,7 @@ public struct LLBCASFSNode {
80
80
}
81
81
}
82
82
}
83
+
84
+ #if swift(>=5.5) && canImport(_Concurrency)
85
+ extension LLBCASFSNode : Sendable { }
86
+ #endif // swift(>=5.5) && canImport(_Concurrency)
Original file line number Diff line number Diff line change @@ -486,3 +486,6 @@ public final class LLBCASFileTree {
486
486
}
487
487
}
488
488
489
+ #if swift(>=5.5) && canImport(_Concurrency)
490
+ extension LLBCASFileTree : Sendable { }
491
+ #endif // swift(>=5.5) && canImport(_Concurrency)
You can’t perform that action at this time.
0 commit comments