Expand description
The Layer 1 commit-history contract.
Severity inference needs exactly one thing from a version-control system:
the list of commits reachable from HEAD down to some bound, scoped to a
set of paths. That need is expressed here, in permissive Layer 1, as
CommitWalker over CommitRecord values – so consumers such as
callisto-conventional depend on the shape of a commit walk rather than
on any particular VCS implementation (native gix, a shelled-out git,
or a test double).
Structs§
- Commit
Record - A single commit as far as history analysis is concerned: its identity plus
its message, pre-split at the first blank line the way
git logsplits%sfrom%b.
Enums§
- Commit
Walk Error - Why a
CommitWalker::commits_sincecall could not produce a history.
Traits§
- Commit
Walker - Reads commit history. The single VCS capability that severity inference requires, and therefore the only one this trait exposes.