Documentation
¶
Index ¶
- type Repo
- func (r Repo) CloneURL() string
- func (r Repo) DownloadFile(ctx context.Context, httpClient *http.Client, path, ref string) ([]byte, int, error)
- func (r Repo) GetAllPullRequests(state string) (*[]github.PullRequest, error)
- func (r Repo) GetLabelsFor(number int) (*[]string, error)
- func (r Repo) ListAllPullRequestFiles(pri int, cb func([]*github.CommitFile, *github.Response) error) error
- func (r Repo) ListAllPullRequests(state string, cb func([]*github.PullRequest, *github.Response) error) error
- func (r Repo) PrURL(pr int) string
- type Token
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Repo ¶
func (Repo) DownloadFile ¶ added in v0.9.1
func (r Repo) DownloadFile(ctx context.Context, httpClient *http.Client, path, ref string) ([]byte, int, error)
DownloadFile fetches the raw content of a file from GitHub at a specific ref (commit SHA or branch). Returns the file content bytes, the HTTP status code, and any error.
func (Repo) GetAllPullRequests ¶
func (r Repo) GetAllPullRequests(state string) (*[]github.PullRequest, error)
func (Repo) ListAllPullRequestFiles ¶ added in v0.9.1
func (Repo) ListAllPullRequests ¶
Click to show internal directories.
Click to hide internal directories.