package
0.0.5
Repository: https://github.com/microsoft/go-infra.git
Documentation: pkg.go.dev

# Functions

BindPATFlag returns a flag to specify the personal access token.
BindRepoFlag returns a flag to specify a GitHub repo to target.
DownloadFile downloads a file from a given repository.
FetchEachPage helps fetch all data from a GitHub API call that may or may not span multiple pages.
NewClient creates a GitHub client using the given personal access token.
ParseRepoFlag splits a given repo (owner/name) into owner and name, or returns an error.
Retry runs f up to 'retryAttempts' times, printing the error if one is encountered.
UploadFile is a function that will upload a file to a given repository.

# Variables

ErrNotExists indicates that the requested file does not exist in the specified GitHub repository and branch.