We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 4131d98 commit 9947327Copy full SHA for 9947327
Sources/Casbin/Util/Util.swift
@@ -81,7 +81,7 @@ public struct Util {
81
return res
82
}
83
84
- public static func loadPolicyLine(line:String,m:Model) {
+ @Sendable public static func loadPolicyLine(line:String,m:Model) {
85
if line.isEmpty || line.starts(with: "#") {
86
return
87
@@ -96,7 +96,7 @@ public struct Util {
96
97
98
99
- public static func loadFilteredPolicyLine(line:String,m:Model,f:Filter) -> Bool {
+ @Sendable public static func loadFilteredPolicyLine(line:String,m:Model,f:Filter) -> Bool {
100
101
return false
102
0 commit comments