Versions in this module Expand all Collapse all v0 v0.1.0 Jun 11, 2026 Changes in this version + type RateLimitError = backend.RateLimitError + type Repo struct + func New(owner, repo, token string) *Repo + func NewWithBaseURL(owner, repo, token, baseURL string, client *http.Client) *Repo + func (r *Repo) Archive(ctx context.Context, rev, format, prefix string, w io.Writer) error + func (r *Repo) Blame(ctx context.Context, rev, pth string) ([]backend.BlameHunk, error) + func (r *Repo) Blob(ctx context.Context, rev, pth string) (backend.Blob, error) + func (r *Repo) Commit(ctx context.Context, sha string) (backend.CommitDetail, error) + func (r *Repo) Commits(ctx context.Context, rev, pth string, n, skip int) ([]backend.Commit, bool, error) + func (r *Repo) Files(ctx context.Context, rev string) ([]string, error) + func (r *Repo) Info(ctx context.Context) (backend.Info, error) + func (r *Repo) LastCommit(ctx context.Context, rev, pth string) (backend.Commit, error) + func (r *Repo) Refs(ctx context.Context) (backend.Refs, error) + func (r *Repo) Resolve(ctx context.Context, ref string) (string, error) + func (r *Repo) Tree(ctx context.Context, rev, pth string) ([]backend.TreeEntry, error)