pub type CommitId = usize; /// Represent a commit on a repository /// /// This abstraction only contains metadata required to fetch the full /// commit from disk, if it is queried. Any operation on this type /// will block to first load pub struct Commit { pub id: CommitId, hash: String, }