Documentation
¶
Index ¶
- Constants
- func BranchExists(name string) (bool, error)
- func CurrentBranch() (string, error)
- func Git(quiet bool, args ...string) error
- func GitOutput(args ...string) (string, error)
- func HTTPGet(url string) (*http.Response, error)
- func HTTPGetWithHeaders(url string, headers map[string]string) (*http.Response, error)
- func PromptForKey(prompt string) (rune, error)
- func ReadBody(resp *http.Response) ([]byte, error)
- func RequireArgs(args []string, missingMessage string) error
Constants ¶
View Source
const ( CommitFormat = "%h %an: %s (%ad)." DateFormat = "%Y-%m-%d %H:%M:%S" UserAgent = "qit-cli" )
Variables ¶
This section is empty.
Functions ¶
func BranchExists ¶
func CurrentBranch ¶
func HTTPGetWithHeaders ¶
func PromptForKey ¶
func RequireArgs ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.