FileScanner.ts
Scans directories for files matching specified extensions using glob patterns.
This class provides file discovery capabilities by scanning directories
for files that match the configured extensions. It supports both relative
and absolute paths and integrates with the glob library for pattern matching.
@example
const scanner = new FileScanner({
cwd: './src',
extensions: ['*.js', '*.ts']
});
const files = await scanner.collect();
// Returns array of matching file paths
Methods
collect
Collects all files matching the configured extensions in the target directory.
@param globOptions - Additional glob options to override defaults
@returns Promise resolving to array of matching file paths
Last updated: 2025-09-16T21:51:51.930Z
This file is auto generated. Do not edit manually.*