[−][src]Struct git2::PathspecMatchList
List of filenames matching a pathspec.
Methods
impl<'ps> PathspecMatchList<'ps>
[src]
impl<'ps> PathspecMatchList<'ps>
ⓘImportant traits for PathspecEntries<'list>
ⓘImportant traits for PathspecEntries<'list>
pub fn entries(&self) -> PathspecEntries | [src] |
Returns an iterator over the matching filenames in this list.
pub fn entry(&self, i: usize) -> Option<&[u8]> | [src] |
Get a matching filename by position.
If this list was generated from a diff, then the return value will always be `None.
ⓘImportant traits for PathspecDiffEntries<'list>
ⓘImportant traits for PathspecDiffEntries<'list>
pub fn diff_entries(&self) -> PathspecDiffEntries | [src] |
Returns an iterator over the matching diff entries in this list.
pub fn diff_entry(&self, i: usize) -> Option<DiffDelta> | [src] |
Get a matching diff delta by position.
If the list was not generated from a diff, then the return value will
always be None
.
ⓘImportant traits for PathspecFailedEntries<'list>
ⓘImportant traits for PathspecFailedEntries<'list>
pub fn failed_entries(&self) -> PathspecFailedEntries | [src] |
Returns an iterator over the non-matching entries in this list.
pub fn failed_entry(&self, i: usize) -> Option<&[u8]> | [src] |
Get an original pathspec string that had no matches.
Trait Implementations
impl<'ps> Drop for PathspecMatchList<'ps>
[src]
impl<'ps> Drop for PathspecMatchList<'ps>
Auto Trait Implementations
impl<'ps> !Send for PathspecMatchList<'ps>
impl<'ps> !Send for PathspecMatchList<'ps>
impl<'ps> !Sync for PathspecMatchList<'ps>
impl<'ps> !Sync for PathspecMatchList<'ps>
Blanket Implementations
impl<T> From for T
[src]
impl<T> From for T
impl<T, U> Into for T where
U: From<T>,
[src]
impl<T, U> Into for T where
U: From<T>,
impl<T, U> TryFrom for T where
T: From<U>,
[src]
impl<T, U> TryFrom for T where
T: From<U>,
type Error = !
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error> | [src] |
impl<T> Borrow for T where
T: ?Sized,
[src]
impl<T> Borrow for T where
T: ?Sized,
impl<T> BorrowMut for T where
T: ?Sized,
[src]
impl<T> BorrowMut for T where
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T | [src] |
impl<T, U> TryInto for T where
U: TryFrom<T>,
[src]
impl<T, U> TryInto for T where
U: TryFrom<T>,
type Error = <U as TryFrom<T>>::Error
🔬 This is a nightly-only experimental API. (
try_from
)The type returned in the event of a conversion error.
fn try_into(self) -> Result<U, <U as TryFrom<T>>::Error> | [src] |
impl<T> Any for T where
T: 'static + ?Sized,
[src]
impl<T> Any for T where
T: 'static + ?Sized,
fn get_type_id(&self) -> TypeId | [src] |