tokmd-scan
Tokei-backed scan adapter for tokmd.
Problem
Raw scanning and config translation should live behind one boundary instead of leaking into model or formatting code.
What it gives you
scanscan_in_memoryconfig_from_scan_optionsnormalize_in_memory_pathsInMemoryFileMaterializedScan
API / usage notes
scanwrapstokeiand returns aLanguagesmap for host paths.scan_in_memorywrites logical inputs into a temporary root and keeps the logical paths alive for downstream model code.config_from_scan_optionsmapsScanOptionsintotokei::Config.src/lib.rsand its tests are the canonical reference for path validation and ignore handling.
Go deeper
- Tutorial: tokmd README
- How-to: Troubleshooting
- Reference: src/lib.rs
- Explanation: Architecture