1
0
Fork 0
toolkit/packages/glob/src/internal-match-kind.ts

17 lines
278 B
TypeScript

/**
* Indicates whether a pattern matches a path
*/
export enum MatchKind {
/** Not matched */
None = 0,
/** Matched if the path is a directory */
Directory = 1,
/** Matched if the path is a regular file */
File = 2,
/** Matched */
All = Directory | File
}