devcap-core
Core library for aggregating git commits across multiple local repositories. Powers the devcap CLI.
Installation
Usage
use Path;
use ;
// Discover all git repos under a directory
let repos = find_repos;
// Parse a time period
let range = Days.to_time_range;
// Collect commit history per repo
for repo in &repos
Modules
| Module | Description |
|---|---|
discovery |
find_repos(root) — recursively discover git repositories, skipping build artifacts |
git |
collect_project_log(repo, range, author) — gather commits across all branches |
model |
ProjectLog, BranchLog, Commit — structured data types (Serialize) |
period |
Period enum + TimeRange — parse human-readable time periods (today, 7d, week) |
License
MIT