tokmd-scan 1.11.0

Source code scanning adapter (Tokei wrapper) for tokmd.
Documentation

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

  • scan
  • scan_in_memory
  • config_from_scan_options
  • normalize_in_memory_paths
  • InMemoryFile
  • MaterializedScan

API / usage notes

  • scan wraps tokei and returns a Languages map for host paths.
  • scan_in_memory writes logical inputs into a temporary root and keeps the logical paths alive for downstream model code.
  • config_from_scan_options maps ScanOptions into tokei::Config.
  • src/roots.rs, src/path/, and their tests are the canonical reference for root validation and caller-facing report path rebasing.
  • src/walk/git.rs owns git-backed listing, subprocess environment scrubbing, and tracked-file path bounding for repository walks.
  • src/lib.rs remains the public scan facade and ignore-handling reference.

Go deeper