pub struct PathWalkOptions {
pub include_commits: bool,
pub include_trees: bool,
pub include_blobs: bool,
pub include_tags: bool,
pub prune_all_uninteresting: bool,
pub edge_aggressive: bool,
pub cone_patterns: Option<ConePatterns>,
pub sparse_pattern_lines: Option<Vec<String>>,
}Expand description
Options for walk_objects_by_path, aligned with Git’s struct path_walk_info.
Fields§
§include_commits: bool§include_trees: bool§include_blobs: bool§prune_all_uninteresting: bool§edge_aggressive: bool§cone_patterns: Option<ConePatterns>§sparse_pattern_lines: Option<Vec<String>>Lines from test-tool path-walk --stdin-pl (trimmed, non-empty, non-comment).
Trait Implementations§
Source§impl Clone for PathWalkOptions
impl Clone for PathWalkOptions
Source§fn clone(&self) -> PathWalkOptions
fn clone(&self) -> PathWalkOptions
Returns a duplicate of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for PathWalkOptions
impl Debug for PathWalkOptions
Auto Trait Implementations§
impl Freeze for PathWalkOptions
impl RefUnwindSafe for PathWalkOptions
impl Send for PathWalkOptions
impl Sync for PathWalkOptions
impl Unpin for PathWalkOptions
impl UnsafeUnpin for PathWalkOptions
impl UnwindSafe for PathWalkOptions
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