pub struct GitEngine<'repo> { /* private fields */ }
Implementations§
Trait Implementations§
Source§impl Engine for GitEngine<'_>
impl Engine for GitEngine<'_>
Source§fn matches(
&self,
patterns: impl IntoIterator<Item = impl AsRef<Path>>,
) -> impl Iterator<Item = Result<PathBuf, PathBuf>>
fn matches( &self, patterns: impl IntoIterator<Item = impl AsRef<Path>>, ) -> impl Iterator<Item = Result<PathBuf, PathBuf>>
Iterate over changed files that match the given patterns and patterns that don’t match any file. Read more
Auto Trait Implementations§
impl<'repo> Freeze for GitEngine<'repo>
impl<'repo> RefUnwindSafe for GitEngine<'repo>
impl<'repo> !Send for GitEngine<'repo>
impl<'repo> !Sync for GitEngine<'repo>
impl<'repo> Unpin for GitEngine<'repo>
impl<'repo> UnwindSafe for GitEngine<'repo>
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