Struct hubcaps::git::Git

source ·
pub struct Git<C>where
    C: Clone + Connect + 'static,
{ /* private fields */ }
Expand description

reference to git operations associated with a github repo

Implementations

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

get the blob contents of a given sha https://developer.github.com/v3/git/blobs/#get-a-blob

get the git reference data of a given ref the specified reference must be formatted as as “heads/branch”, not just “branch” https://developer.github.com/v3/git/refs/#get-a-reference

branches should be in the format heads/feature-a tags should be in the format tags/v1.0 https://developer.github.com/v3/git/refs/#delete-a-reference

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.