Permalink
Cannot retrieve contributors at this time
15 lines (15 sloc)
593 Bytes
Name already in use
A tag already exists with the provided branch name. Many Git commands accept both tag and branch names, so creating this branch may cause unexpected behavior. Are you sure you want to create this branch?
codeql-action/node_modules/@actions/glob/lib/internal-pattern-helper.d.ts
Go to fileThis commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
import { MatchKind } from './internal-match-kind'; | |
import { Pattern } from './internal-pattern'; | |
/** | |
* Given an array of patterns, returns an array of paths to search. | |
* Duplicates and paths under other included paths are filtered out. | |
*/ | |
export declare function getSearchPaths(patterns: Pattern[]): string[]; | |
/** | |
* Matches the patterns against the path | |
*/ | |
export declare function match(patterns: Pattern[], itemPath: string): MatchKind; | |
/** | |
* Checks whether to descend further into the directory | |
*/ | |
export declare function partialMatch(patterns: Pattern[], itemPath: string): boolean; |