mirror of https://github.com/actions/toolkit
17 lines
278 B
TypeScript
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
|
||
|
}
|