pub struct RevList<'a> { /* private fields */ }Expand description
Builder for git rev-list command.
See git rev-list --help for full documentation.
Implementations§
Source§impl<'a> RevList<'a>
impl<'a> RevList<'a>
Sourcepub fn topo_order(self) -> Self
pub fn topo_order(self) -> Self
Show commits in topological order.
Corresponds to --topo-order.
Sourcepub fn topo_order_if(self, value: bool) -> Self
pub fn topo_order_if(self, value: bool) -> Self
Conditionally show commits in topological order.
Sourcepub fn reverse_if(self, value: bool) -> Self
pub fn reverse_if(self, value: bool) -> Self
Conditionally output commits in reverse order.
Trait Implementations§
Auto Trait Implementations§
impl<'a> Freeze for RevList<'a>
impl<'a> RefUnwindSafe for RevList<'a>
impl<'a> Send for RevList<'a>
impl<'a> Sync for RevList<'a>
impl<'a> Unpin for RevList<'a>
impl<'a> UnwindSafe for RevList<'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