mirror of
https://git.mirrors.martin98.com/https://github.com/actions/toolkit
synced 2026-04-13 18:56:58 +08:00
glob (#268)
This commit is contained in:
16
packages/glob/src/internal-match-kind.ts
Normal file
16
packages/glob/src/internal-match-kind.ts
Normal file
@@ -0,0 +1,16 @@
|
||||
/**
|
||||
* 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
|
||||
}
|
||||
Reference in New Issue
Block a user