Skip to main content

Module scanner

Module scanner 

Source
Expand description

Codebase scanning for pattern matches.

The scanner walks a directory tree, filters files by language and glob patterns, and runs the PatternMatcher against each file. It supports parallel file processing via the parallel sub-module and configurable include/exclude rules via walker.

Re-exports§

pub use walker::FileWalker;

Modules§

parallel
Parallel file scanning using Rayon.
walker
File system walker with glob filtering and .gitignore support.

Structs§

ScanConfig
Configuration for a codebase scan.
ScanMatch
A single match found during scanning.
ScanResult
Aggregated result of scanning a codebase.
Scanner
Main scanner that orchestrates file walking and pattern matching.