pub struct HistoryWalk<'a> { /* private fields */ }Available on crate feature
workflow only.Expand description
Builder for one history walk. Configure with the chained setters, then
call execute.
Implementations§
Source§impl<'a> HistoryWalk<'a>
impl<'a> HistoryWalk<'a>
Sourcepub fn since(self, s: impl Into<String>) -> Self
pub fn since(self, s: impl Into<String>) -> Self
Filter by --since (any value git log accepts, e.g. "2.weeks.ago").
Filter by author (--author).
Sourcepub fn revision(self, r: impl Into<String>) -> Self
pub fn revision(self, r: impl Into<String>) -> Self
Add a revision, range, or ref (e.g. "HEAD~10..HEAD").
Multiple calls accumulate.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for HistoryWalk<'a>
impl<'a> RefUnwindSafe for HistoryWalk<'a>
impl<'a> Send for HistoryWalk<'a>
impl<'a> Sync for HistoryWalk<'a>
impl<'a> Unpin for HistoryWalk<'a>
impl<'a> UnsafeUnpin for HistoryWalk<'a>
impl<'a> UnwindSafe for HistoryWalk<'a>
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