Struct git2::PathspecMatchList [−][src]
pub struct PathspecMatchList<'ps> { /* fields omitted */ }
Expand description
List of filenames matching a pathspec.
Implementations
pub fn entries(&self) -> PathspecEntries<'_>ⓘNotable traits for PathspecEntries<'list>impl<'list> Iterator for PathspecEntries<'list> type Item = &'list [u8];
pub fn entries(&self) -> PathspecEntries<'_>ⓘNotable traits for PathspecEntries<'list>impl<'list> Iterator for PathspecEntries<'list> type Item = &'list [u8];
Notable traits for PathspecEntries<'list>
impl<'list> Iterator for PathspecEntries<'list> type Item = &'list [u8];
Returns an iterator over the matching filenames in this list.
Get a matching filename by position.
If this list was generated from a diff, then the return value will always be `None.
pub fn diff_entries(&self) -> PathspecDiffEntries<'_>ⓘNotable traits for PathspecDiffEntries<'list>impl<'list> Iterator for PathspecDiffEntries<'list> type Item = DiffDelta<'list>;
pub fn diff_entries(&self) -> PathspecDiffEntries<'_>ⓘNotable traits for PathspecDiffEntries<'list>impl<'list> Iterator for PathspecDiffEntries<'list> type Item = DiffDelta<'list>;
Notable traits for PathspecDiffEntries<'list>
impl<'list> Iterator for PathspecDiffEntries<'list> type Item = DiffDelta<'list>;
Returns an iterator over the matching diff entries in this list.
Get a matching diff delta by position.
If the list was not generated from a diff, then the return value will
always be None
.
pub fn failed_entries(&self) -> PathspecFailedEntries<'_>ⓘNotable traits for PathspecFailedEntries<'list>impl<'list> Iterator for PathspecFailedEntries<'list> type Item = &'list [u8];
pub fn failed_entries(&self) -> PathspecFailedEntries<'_>ⓘNotable traits for PathspecFailedEntries<'list>impl<'list> Iterator for PathspecFailedEntries<'list> type Item = &'list [u8];
Notable traits for PathspecFailedEntries<'list>
impl<'list> Iterator for PathspecFailedEntries<'list> type Item = &'list [u8];
Returns an iterator over the non-matching entries in this list.