Skip to main content

Crate tokmd_substrate

Crate tokmd_substrate 

Source
Expand description

§tokmd-substrate

Tier 0 (Pure Data)

Shared context that eliminates redundant I/O across sensors. The substrate is built once (scan + git diff) and shared with all sensors that run against the same repository.

§What belongs here

  • RepoSubstrate, SubstrateFile, LangSummary, DiffRange
  • Pure data types with Serde derive

§What does NOT belong here

  • I/O operations (substrate building is in tokmd-sensor)
  • Business logic or analysis

Structs§

DiffRange
Git diff range context.
LangSummary
Per-language summary in the substrate.
RepoSubstrate
Shared context for a scanned repository.
SubstrateFile
A single file in the substrate.