gitauth
packageThis package is not in the latest version of its module.
Details
Validgo.mod file
The Go module system was introduced in Go 1.11 and is the official dependency management solution for Go.
Redistributable license
Redistributable licenses place minimal restrictions on how software can be used, modified, and redistributed.
Tagged version
Modules with tagged versions give importers more predictable builds.
Stable version
When a project reaches major version v1 it is considered stable.
- Learn more about best practices
Repository
Links
Documentation¶
Index¶
Constants¶
This section is empty.
Variables¶
This section is empty.
Functions¶
funcCheckCommand¶
CheckCommand returns true if the command arguments and environmentmatch those when the GIT_ASKPASS command is invoked by git.
funcOverrideVSCodeConfigs¶
OverrideVSCodeConfigs overwrites a few properties to consumeGIT_ASKPASS from the host instead of VS Code-specific authentication.
funcParseAskpass¶
ParseAskpass returns the user and host from a git askpass prompt. Forexample: "user1" and "https://github.com". Note that for HTTPprotocols, the URL will never contain a path.
For details on how the prompt is formatted, see `credential_ask_one`:https://github.com/git/git/blob/bbe21b64a08f89475d8a3818e20c111378daa621/credential.c#L173-L191
Types¶
This section is empty.