Versions in this module Expand all Collapse all v1 v1.31.0 Aug 18, 2026 Changes in this version + const DefaultArchiveHost + const DefaultHost + var ErrUnexpectedCommitCount = errors.New("unexpected number of commits") + type Client struct + func NewClient(options ...github_config.Option) *Client + func (c *Client) Blob(ctx context.Context, owner string, repo string, fileSha string, ...) (*blob.Blob, error) + func (c *Client) CommitArchive(ctx context.Context, owner string, repo string, reference string, ...) (*zip.Reader, error) + func (c *Client) LatestCommit(ctx context.Context, owner string, repo string, path string, ...) (*commit.Commit, error) + func (c *Client) Tree(ctx context.Context, owner string, repo string, treeSha string, ...) (*tree.Tree, error)