pub struct LogWalkQuery {
pub tips: Vec<ObjectId>,
pub hide: Vec<ObjectId>,
pub cutoffs: ReachableWalkCommitterCutoffs,
}Expand description
Tips, exclusions, and date cutoffs for a resumable date-order log walk.
Fields§
§tips: Vec<ObjectId>Positive walk tips (resolved commit oids).
hide: Vec<ObjectId>Hide tips whose ancestors are omitted from output.
cutoffs: ReachableWalkCommitterCutoffsCommitter-date filters applied during the walk.
Implementations§
Source§impl LogWalkQuery
impl LogWalkQuery
Sourcepub fn from_rev_walk(
repo: &Repository,
tokens: &[&str],
walk: &RevWalkListOptions,
) -> Result<Option<Self>>
pub fn from_rev_walk( repo: &Repository, tokens: &[&str], walk: &RevWalkListOptions, ) -> Result<Option<Self>>
Build a walk query when revision selection maps to default-order reachable walks.
Returns None when walk uses options that require full rev-list (paths,
--reverse, --first-parent, parent-count filters, or --skip).
§Errors
Propagates rev-parse and ref errors from resolve_log_walk_tips_and_hide.
Trait Implementations§
Source§impl Clone for LogWalkQuery
impl Clone for LogWalkQuery
Source§impl Debug for LogWalkQuery
impl Debug for LogWalkQuery
impl Eq for LogWalkQuery
Source§impl PartialEq for LogWalkQuery
impl PartialEq for LogWalkQuery
impl StructuralPartialEq for LogWalkQuery
Auto Trait Implementations§
impl Freeze for LogWalkQuery
impl RefUnwindSafe for LogWalkQuery
impl Send for LogWalkQuery
impl Sync for LogWalkQuery
impl Unpin for LogWalkQuery
impl UnsafeUnpin for LogWalkQuery
impl UnwindSafe for LogWalkQuery
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
Source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§impl<Q, K> Equivalent<K> for Q
impl<Q, K> Equivalent<K> for Q
Source§fn equivalent(&self, key: &K) -> bool
fn equivalent(&self, key: &K) -> bool
Compare self to
key and return true if they are equal.