mirror of
https://github.com/qvacua/vimr.git
synced 2024-12-26 07:13:24 +03:00
swiftformat Ignore
This commit is contained in:
parent
6de41ab2aa
commit
f9be41f220
@ -79,12 +79,12 @@ public struct Filter: CustomStringConvertible {
|
||||
|
||||
if self.isRelativeToBase {
|
||||
return url.path.withCString { stringCstr in
|
||||
wildmatch(patternCstr, stringCstr, WM_WILDSTAR) == WM_MATCH
|
||||
wildmatch(self.patternCstr, stringCstr, WM_WILDSTAR) == WM_MATCH
|
||||
}
|
||||
}
|
||||
|
||||
return url.lastPathComponent.withCString { stringCstr in
|
||||
wildmatch(patternCstr, stringCstr, WM_WILDSTAR) == WM_MATCH
|
||||
wildmatch(self.patternCstr, stringCstr, WM_WILDSTAR) == WM_MATCH
|
||||
}
|
||||
}
|
||||
|
||||
@ -92,7 +92,7 @@ public struct Filter: CustomStringConvertible {
|
||||
public func matches(_ string: String) -> Bool {
|
||||
string.withCString {
|
||||
stringCstr in
|
||||
wildmatch(patternCstr, stringCstr, WM_WILDSTAR) == WM_MATCH
|
||||
wildmatch(self.patternCstr, stringCstr, WM_WILDSTAR) == WM_MATCH
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user