//! Walk along a branch parsing commit metadata use std::collections::{BTreeMap, BTreeSet}; pub struct CommitHistory { /// The correct order of commit IDs order: Vec, /// Map of commit IDs to commit metadata meta: BTreeMap, } pub struct CommitNode { id: String, author: String, commiter: String, message: String, touches: BTreeSet, time: u64, }