Skip to content

Commit 407e518

Browse files
committed
feat: stop using fnmatch
1 parent ddad4ae commit 407e518

File tree

1 file changed

+0
-6
lines changed

1 file changed

+0
-6
lines changed

Sources/Hub/HubApi.swift

Lines changed: 0 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -153,9 +153,3 @@ public extension HubApi {
153153
return etag.trimmingPrefix("W/").trimmingCharacters(in: CharacterSet(charactersIn: "\""))
154154
}
155155
}
156-
157-
public extension [String] {
158-
func matching(glob: String) -> [String] {
159-
filter { fnmatch(glob, $0, 0) == 0 }
160-
}
161-
}

0 commit comments

Comments
 (0)