Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Blob ¶
type Blob struct {
ID string `json:"id"`
Path string `json:"path"`
Name string `json:"name"`
Extension string `json:"extension"`
Size int `json:"size"`
MimeType string `json:"mime_type"`
Binary bool `json:"binary"`
RawPath string `json:"raw_path"`
BlamePath string `json:"blame_path"`
CommitsPath string `json:"commits_path"`
TreePath string `json:"tree_path"`
Permalink string `json:"permalink"`
LastCommitSHA string `json:"last_commit_sha"`
HTML string `json:"html"`
Raw []byte `json:"-"`
}
type Client ¶
func (*Client) GetBlob ¶
GetBlob retrieves the blob at href. Set includeRaw to true to download the blob's contents.
func (*Client) GetRepositoryDescription ¶
GetRepositoryDescription retrieves the description of a repository.
type ContainerRepository ¶
Click to show internal directories.
Click to hide internal directories.