Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
View Source
var ErrRemoteHostIsNotGitHub = errors.New("not a github host")
Functions ¶
func EnsureRemote ¶
func EnsureRemote(ctx context.Context, repositoryPath string, remoteName string, gitCli *git.Cli) (string, error)
ensureRemote ensures that a git repository located at `repositoryPath` has a remote and it is configured with a URL for a repository hosted on GitHub. It returns the repository slug `(<organization>/<repo>)`.
func GetSlugForRemote ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.