pub struct CliGitStore { /* private fields */ }Expand description
Git CLI backed implementation of GitStore operating on a bare repository directory without shell interpolation.
Implementations§
Trait Implementations§
Source§impl Clone for CliGitStore
impl Clone for CliGitStore
Source§impl Debug for CliGitStore
impl Debug for CliGitStore
Source§impl GitStore for CliGitStore
impl GitStore for CliGitStore
fn init_bare<'life0, 'async_trait>(
&'life0 self,
) -> Pin<Box<dyn Future<Output = Result<(), GitError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
fn list_refs<'life0, 'life1, 'async_trait>(
&'life0 self,
prefix: Option<&'life1 str>,
) -> Pin<Box<dyn Future<Output = Result<BTreeMap<String, Oid>, GitError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn resolve_ref<'life0, 'life1, 'async_trait>(
&'life0 self,
ref_name: &'life1 str,
) -> Pin<Box<dyn Future<Output = Result<Option<Oid>, GitError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn update_ref_cas<'life0, 'life1, 'life2, 'life3, 'async_trait>(
&'life0 self,
ref_name: &'life1 str,
new_oid: Option<&'life2 Oid>,
expected_old_oid: Option<&'life3 Oid>,
) -> Pin<Box<dyn Future<Output = Result<(), GitError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
'life3: 'async_trait,
fn read_object<'life0, 'life1, 'async_trait>(
&'life0 self,
oid: &'life1 Oid,
) -> Pin<Box<dyn Future<Output = Result<GitObject, GitError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn write_blob<'life0, 'life1, 'async_trait>(
&'life0 self,
data: &'life1 [u8],
) -> Pin<Box<dyn Future<Output = Result<Oid, GitError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn object_exists<'life0, 'life1, 'async_trait>(
&'life0 self,
oid: &'life1 Oid,
) -> Pin<Box<dyn Future<Output = Result<bool, GitError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
fn merge_base<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
a: &'life1 Oid,
b: &'life2 Oid,
) -> Pin<Box<dyn Future<Output = Result<Option<Oid>, GitError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
fn rev_list<'life0, 'life1, 'life2, 'async_trait>(
&'life0 self,
include: &'life1 [Oid],
exclude: &'life2 [Oid],
) -> Pin<Box<dyn Future<Output = Result<Vec<Oid>, GitError>> + Send + 'async_trait>>where
Self: 'async_trait,
'life0: 'async_trait,
'life1: 'async_trait,
'life2: 'async_trait,
Auto Trait Implementations§
impl Forget for CliGitStore
impl Freeze for CliGitStore
impl Move for CliGitStore
impl RefUnwindSafe for CliGitStore
impl Send for CliGitStorewhere
RawVecInner: Send,
impl Sync for CliGitStorewhere
RawVecInner: Sync,
impl Unpin for CliGitStore
impl UnsafeUnpin for CliGitStore
impl UnwindSafe for CliGitStorewhere
RawVecInner: UnwindSafe,
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