( rootIgnore: Ignore, nestedIgnores: Map<string, Ignore> )
| 75 | * Create a combined gitignore matcher |
| 76 | */ |
| 77 | export function createMatcher( |
| 78 | rootIgnore: Ignore, |
| 79 | nestedIgnores: Map<string, Ignore> |
| 80 | ): GitignoreMatcher { |
| 81 | return new GitignoreMatcher(rootIgnore, nestedIgnores); |
| 82 | } |
| 83 | |
| 84 | /** |
| 85 | * Gitignore matcher that handles both root and nested .gitignore files |
no outgoing calls
no test coverage detected