Skip to content

Signatures

globAsync(tree: Tree, patterns: string[]): Promise

Performs a tree-aware glob search on the files in a workspace. Able to find newly created files and hides deleted files before the updates are committed to disk. Paths should be unix-style with forward slashes.

Parameters

  • tree: Tree - The file system tree
  • patterns: string[] - A list of glob patterns