Files
David Jennes 4d1d3591c7 Bump year
2022-07-30 20:47:39 +02:00

22 lines
454 B
Swift

//
// SwiftGenKit UnitTests
// Copyright © 2022 SwiftGen
// MIT Licence
//
import PathKit
import SwiftGenKit
public extension SwiftGenKit.Parser {
func searchAndParse(path: Path) throws {
let filter = try Filter(pattern: Self.defaultFilter, options: Self.filterOptions)
try searchAndParse(path: path, filter: filter)
}
func searchAndParse(paths: [Path]) throws {
for path in paths {
try searchAndParse(path: path)
}
}
}