Documentation
¶
Index ¶
- Constants
- func ConfigGetURLMatch(key, url string) string
- func GetCredentials(protocol, host, username string) (string, error)
- func InstallProtocol(protocol string)
- func PassThruRemoteHTTPSHelper(remote, url string)
- func SetGlobalConfig(url, section, key, value string)
- func StoreCredentials(protocol, host, username, password string) error
Constants ¶
View Source
const (
// GitBinary defines the name of the git client's binary on the system
GitBinary = "git"
)
Variables ¶
This section is empty.
Functions ¶
func ConfigGetURLMatch ¶
ConfigGetURLMatch call 'git config --get-urlmatch' underneath
func GetCredentials ¶
func InstallProtocol ¶
func InstallProtocol(protocol string)
func PassThruRemoteHTTPSHelper ¶
func PassThruRemoteHTTPSHelper(remote, url string)
func SetGlobalConfig ¶
func SetGlobalConfig(url, section, key, value string)
func StoreCredentials ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.