Struct simpler_git::LocalRepository [−][src]
Fields
inner: RepositoryImplementations
impl LocalRepository[src]
pub fn pull<F>(
&mut self,
branch_name: &str,
credential: Option<F>
) -> Result<(), Error> where
F: Fn() -> Result<Cred, Error>, [src]
&mut self,
branch_name: &str,
credential: Option<F>
) -> Result<(), Error> where
F: Fn() -> Result<Cred, Error>,
pub fn add_all(&mut self) -> Result<Oid, Error>[src]
pub fn commit(
&mut self,
tree_id: Oid,
message: &str,
signature: Signature<'_>
) -> Result<(), Error>[src]
&mut self,
tree_id: Oid,
message: &str,
signature: Signature<'_>
) -> Result<(), Error>
pub fn push<F>(&mut self, credential: F, branch_name: &str) -> Result<(), Error> where
F: Fn() -> Result<Cred, Error>, [src]
F: Fn() -> Result<Cred, Error>,
Auto Trait Implementations
impl RefUnwindSafe for LocalRepository[src]
impl Send for LocalRepository[src]
impl !Sync for LocalRepository[src]
impl Unpin for LocalRepository[src]
impl UnwindSafe for LocalRepository[src]
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized, [src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized, [src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized, [src]
T: ?Sized,
pub fn borrow_mut(&mut self) -> &mut T[src]
impl<T> From<T> for T[src]
impl<T, U> Into<U> for T where
U: From<T>, [src]
U: From<T>,
impl<T, U> TryFrom<U> for T where
U: Into<T>, [src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
pub fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>, [src]
U: TryFrom<T>,