Skip to main content

Module scanner

Module scanner 

Source

Structs§

AstGrepRule
The subset of a slopguard rule that ast-grep understands. slopguard-only fields (category, fix as free text, tests) are deliberately left out.

Enums§

ScanError

Functions§

scan
Scan the given paths for rule violations.
scan_cached
Scan with file-level caching. Files whose content hash matches a cached entry (and whose rules have not changed) return cached findings without reparsing.