Documentation
¶
Index ¶
Constants ¶
View Source
const ( ProtoSuffix = ".proto" MaxRedirects = 1024 )
Variables ¶
View Source
var ErrEmpty = errors.New("empty")
Functions ¶
func NewMultiRepo ¶
Types ¶
type Repositories ¶
type Repositories interface {
GetCommit(ctx context.Context, owner, repo, sha string, opts *github.ListOptions) (*github.RepositoryCommit, *github.Response, error)
Get(ctx context.Context, owner, repo string) (*github.Repository, *github.Response, error)
GetBranch(ctx context.Context, owner, repo, branch string, maxRedirects int) (*github.Branch, *github.Response, error)
DownloadContents(ctx context.Context, owner, repo, filepath string, opts *github.RepositoryContentGetOptions) (io.ReadCloser, *github.Response, error)
}
Click to show internal directories.
Click to hide internal directories.