Uh oh!
There was an error while loading. Please reload this page.
multiple glob patterns - #287
Conversation
Uh oh!
There was an error while loading. Please reload this page.
| const IS_WINDOWS = process.platform === 'win32' | ||
| /** |
Uh oh!
There was an error while loading. Please reload this page.
| /** | ||
| * Used to match files and directories | ||
| */ | ||
| export interface Globber { |
There was a problem hiding this comment.
the new interface for getting search paths and globbing for files
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
| /** | ||
| * Returns files and directories matching the specified glob pattern. | ||
| * Constructs a globber |
There was a problem hiding this comment.
now this file is only used to export the interfaces (Globber, GlobOptions) and instantiate a globber (create)
everything else moved into internal-globber.ts
| /** | ||
| * Constructs a DefaultGlobber | ||
| */ | ||
| static async create( |
There was a problem hiding this comment.
this create function is new, everything else in this file basically moved into this class (was in glob.ts)
This change enables multiple patterns