Expand description
reference to git operations associated with a github repo
Implementations
sourceimpl<C: Clone + Connect + 'static> Git<C>
impl<C: Clone + Connect + 'static> Git<C>
sourcepub fn tree<S>(&self, sha: S, recursive: bool) -> Future<TreeData>where
S: Into<String>,
pub fn tree<S>(&self, sha: S, recursive: bool) -> Future<TreeData>where
S: Into<String>,
list a git tree of files for this repo at a given sha https://developer.github.com/v3/git/trees/#get-a-tree https://developer.github.com/v3/git/trees/#get-a-tree-recursively
sourcepub fn blob<S>(&self, sha: S) -> Future<Blob>where
S: Into<String>,
pub fn blob<S>(&self, sha: S) -> Future<Blob>where
S: Into<String>,
get the blob contents of a given sha https://developer.github.com/v3/git/blobs/#get-a-blob
Auto Trait Implementations
impl<C> !RefUnwindSafe for Git<C>
impl<C> Send for Git<C>
impl<C> Sync for Git<C>
impl<C> Unpin for Git<C>
impl<C> !UnwindSafe for Git<C>
Blanket Implementations
sourceimpl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
const: unstable · sourcefn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
Mutably borrows from an owned value. Read more