githubapi

package
v1.0.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Jan 25, 2024 License: MIT Imports: 3 Imported by: 0

Documentation

Index

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

func MergeUpstreamFork(ctx context.Context, client *github.Client, repoOwner string,
	repoName string, repoBranch string, verbose bool) error

func SyncForks

func SyncForks(ctx context.Context, client *github.Client, userName string, verboseFlag bool, debugFlag bool) error

func WrapError

func WrapError(message string, err error) error

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL