pub struct Git2Provider { /* private fields */ }Implementations§
Trait Implementations§
Source§impl GitCommitProvider for Git2Provider
impl GitCommitProvider for Git2Provider
Source§impl GitDiffProvider for Git2Provider
impl GitDiffProvider for Git2Provider
Source§fn changed_files(
&self,
project_root: &Path,
base: &str,
head: &str,
) -> Result<Vec<FileChange>>
fn changed_files( &self, project_root: &Path, base: &str, head: &str, ) -> Result<Vec<FileChange>>
Errors Read more
Source§impl GitStagingProvider for Git2Provider
impl GitStagingProvider for Git2Provider
Source§impl GitStatusProvider for Git2Provider
impl GitStatusProvider for Git2Provider
Source§impl GitTagProvider for Git2Provider
impl GitTagProvider for Git2Provider
Source§impl GitWorkdirDiffProvider for Git2Provider
impl GitWorkdirDiffProvider for Git2Provider
Source§fn uncommitted_changes(&self, project_root: &Path) -> Result<Vec<FileChange>>
fn uncommitted_changes(&self, project_root: &Path) -> Result<Vec<FileChange>>
Errors Read more
Auto Trait Implementations§
impl !Freeze for Git2Provider
impl RefUnwindSafe for Git2Provider
impl Send for Git2Provider
impl Sync for Git2Provider
impl Unpin for Git2Provider
impl UnsafeUnpin for Git2Provider
impl UnwindSafe for Git2Provider
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> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more