pub struct Git2Provider;Implementations§
Source§impl Git2Provider
impl Git2Provider
Trait Implementations§
Source§impl Default for Git2Provider
impl Default for Git2Provider
Source§impl GitProvider for Git2Provider
impl GitProvider 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§fn create_tag(
&self,
project_root: &Path,
tag_name: &str,
message: &str,
) -> Result<TagInfo>
fn create_tag( &self, project_root: &Path, tag_name: &str, message: &str, ) -> Result<TagInfo>
Errors Read more
Source§fn delete_files(&self, project_root: &Path, paths: &[&Path]) -> Result<()>
fn delete_files(&self, project_root: &Path, paths: &[&Path]) -> Result<()>
Deletes files from the filesystem and stages the deletions in git. 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> 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