Struct hubcaps::git::Git
[−]
[src]
pub struct Git<'a> { /* fields omitted */ }
reference to git operations associated with a github repo
Methods
impl<'a> Git<'a>
[src]
fn new<O, R>(github: &'a Github, owner: O, repo: R) -> Self where
O: Into<String>,
R: Into<String>,
O: Into<String>,
R: Into<String>,
fn tree<S>(&self, sha: S, recursive: bool) -> Result<TreeData> where
S: Into<String>,
S: Into<String>,
list a git tree of files for this repo at a given sha
fn blob<S>(&self, sha: S) -> Result<Blob> where
S: Into<String>,
S: Into<String>,
get the blob contents of a given sha