github_common

package
v0.0.0-...-c8d90df Latest Latest
Warning

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

Go to latest
Published: Dec 17, 2024 License: BSD-3-Clause Imports: 4 Imported by: 0

Documentation

Index

Constants

View Source
const (
	// GithubForkRemoteName is the name of the git remote used by Checkouts
	// which use GitHub.
	GithubForkRemoteName = "fork"
)

Variables

This section is empty.

Functions

func SetupGithub

func SetupGithub(ctx context.Context, co git.Checkout, forkRepoURL string) error

SetupGithub performs additional setup for a Checkout which uses Github. This is required when not using NewGitCheckoutGithub to create the Parent. TODO(borenet): This is needed for RepoManagers which use NewDEPSLocal, since they need to pass in a GitCheckoutUploadRollFunc but can't do other initialization. Find a way to make this unnecessary.

Types

This section is empty.

Jump to

Keyboard shortcuts

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