pub struct CommitHistory {
pub changes_by_path: HashMap<String, Vec<Change>>,
pub affected_paths: HashMap<String, Vec<String>>,
}Expand description
The commit history of a repository, indexed for lookups by path and by commit.
Fields§
§changes_by_path: HashMap<String, Vec<Change>>Changes for each repo-relative directory, in the order they were walked
affected_paths: HashMap<String, Vec<String>>Paths affected by each commit, by commit hash
Trait Implementations§
Auto Trait Implementations§
impl Forget for CommitHistory
impl Freeze for CommitHistory
impl RefUnwindSafe for CommitHistory
impl Send for CommitHistory
impl Sync for CommitHistory
impl Unpin for CommitHistory
impl UnsafeUnpin for CommitHistory
impl UnwindSafe for CommitHistory
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more