Expand description
Git churn analysis for hotspot detection.
Shells out to git log to collect per-file change history, then computes
recency-weighted churn scores and trend indicators.
Structs§
- Churn
Result - Result of churn analysis.
- File
Churn - Per-file churn data collected from git history.
- Since
Duration - Parsed duration for the
--sinceflag.
Enums§
- Churn
Trend - Churn trend indicator based on comparing recent vs older halves of the analysis period.
Functions§
- analyze_
churn - Analyze git churn for files in the given root directory.
- is_
git_ repo - Check if the directory is inside a git repository.
- is_
shallow_ clone - Check if the repository is a shallow clone.
- parse_
since - Parse a
--sincevalue into a git-compatible duration.