Documentation
¶
Index ¶
- func ListForks(ctx context.Context, client *github.Client, owner string, repo string, ...) ([]*github.Repository, error)
- func ListOrganizations(ctx context.Context, client *github.Client, username string, ...) ([]*github.Organization, error)
- func ListRepositories(ctx context.Context, client *github.Client, user string, ...) ([]*github.Repository, error)
- func MergeUpstream(ctx context.Context, client *github.Client, owner string, repo string, ...) (*github.RepoMergeUpstreamResult, error)
- func MergeUpstreamFork(ctx context.Context, client *github.Client, repoOwner string, repoName string, ...) error
- func SyncForks(ctx context.Context, client *github.Client, userName string, verboseFlag bool, ...) error
- func WrapError(message string, err error) error
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ListForks ¶
func ListForks(ctx context.Context, client *github.Client, owner string, repo string, opts *github.RepositoryListForksOptions) ([]*github.Repository, error)
ListForks lists the forks of the specified repository.
func ListOrganizations ¶
func ListOrganizations(ctx context.Context, client *github.Client, username string, opts *github.ListOptions) ([]*github.Organization, error)
func ListRepositories ¶
func ListRepositories(ctx context.Context, client *github.Client, user string, opts *github.RepositoryListOptions) ([]*github.Repository, error)
ListRepositories list the repositories of the specified user.
func MergeUpstream ¶
func MergeUpstream(ctx context.Context, client *github.Client, owner string, repo string, branch string) (*github.RepoMergeUpstreamResult, error)
MergeUpstream merges the upstream repository into the fork for the specified branch.
func MergeUpstreamFork ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.