Expand description
§tokmd-git
Tier 2 (Utilities)
Streaming git log adapter for tokmd analysis. Collects commit history without loading the entire history into memory.
§What belongs here
- Git history collection
- Commit parsing (timestamp, author, affected files)
- Streaming interface
§What does NOT belong here
- Analysis computation (use tokmd-analysis)
- Git history modification
- Complex git operations (use git2 crate directly if needed)
Structs§
Enums§
- Commit
Intent Kind - Classification of a commit’s intent, derived from subject line.
- GitRange
Mode - Git range syntax for comparing commits.
Functions§
- classify_
intent - Classify a commit subject line into an intent kind.
- collect_
history - get_
added_ lines - Get the set of added line numbers per file between two refs.
- git_
available - repo_
root - resolve_
base_ ref - Resolve a base ref with a fallback chain for CI environments.
- rev_
exists - Check whether a git revision resolves to a valid commit.