Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConfigFilePath ¶
func ConfigFilePath(gitcmd git.GitInterface) string
func GitHubRemoteSource ¶
func GitHubRemoteSource(config *Config, gitcmd git.GitInterface) *remoteSource
Types ¶
type Config ¶
type Config struct {
GitHubRepoOwner string `yaml:"githubRepoOwner"`
GitHubRepoName string `yaml:"githubRepoName"`
RequireChecks bool `default:"true" yaml:"requireChecks"`
RequireApproval bool `default:"true" yaml:"requireApproval"`
ShowPRLink bool `default:"true" yaml:"showPRLink"`
CleanupRemoteBranch bool `default:"true" yaml:"cleanupRemoteBranch"`
LogGitCommands bool `default:"false" yaml:"logGitCommands"`
LogGitHubCalls bool `default:"false" yaml:"logGitHubCalls"`
StatusBitsHeader bool `default:"true" yaml:"statusBitsHeader"`
}
Config object to hold spr configuration
Click to show internal directories.
Click to hide internal directories.