Scan a root directory recursively for files that match this glob pattern. Returns an async iterator.
method
Glob.scan
const glob = new Glob("*.{ts,tsx}");
const scannedFiles = await Array.fromAsync(glob.scan({ cwd: './src' }))
method
Scan a root directory recursively for files that match this glob pattern. Returns an async iterator.
const glob = new Glob("*.{ts,tsx}");
const scannedFiles = await Array.fromAsync(glob.scan({ cwd: './src' }))