pub struct Client { /* private fields */ }
Expand description

Client provides a client around the restful interface to GitHub API version 3. Learn more here: https://developer.github.com/v3

This is not intended for securely storing private data, though perhaps it could with a private repository. The tooling is intended to be used to exchange data in an authenticated fashion across multiple peers.

Implementations

Delete a file from a GitHub repository

Recursively delete all files, which as a by product will delete all folders

Retrieve a list of branches, this is effectively a status check on the repository

Retrieve the name of contents within a given directory, note, there are no such thing as empty directories in git.

Retrieve the contents of a file.

Create or update a file.

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.