SYMBOL INDEX (792 symbols across 99 files) FILE: cmd/cmd.go type Cmd (line 15) | type Cmd struct method String (line 23) | func (cmd Cmd) String() string { method WithArg (line 38) | func (cmd *Cmd) WithArg(arg string) *Cmd { method WithArgs (line 44) | func (cmd *Cmd) WithArgs(args ...string) *Cmd { method Output (line 52) | func (cmd *Cmd) Output() (string, error) { method CombinedOutput (line 61) | func (cmd *Cmd) CombinedOutput() (string, error) { method Success (line 68) | func (cmd *Cmd) Success() bool { method Run (line 76) | func (cmd *Cmd) Run() error { method Spawn (line 106) | func (cmd *Cmd) Spawn() error { method Exec (line 118) | func (cmd *Cmd) Exec() error { function isWindows (line 83) | func isWindows() bool { function detectWSL (line 91) | func detectWSL() bool { function New (line 135) | func New(name string) *Cmd { function NewWithArray (line 145) | func NewWithArray(cmd []string) *Cmd { function verboseLog (line 149) | func verboseLog(cmd *Cmd) { FILE: cmd/cmd_test.go function TestNew (line 9) | func TestNew(t *testing.T) { function TestWithArg (line 15) | func TestWithArg(t *testing.T) { function Test_String (line 22) | func Test_String(t *testing.T) { FILE: commands/alias.go function init (line 32) | func init() { function alias (line 36) | func alias(command *Command, args *Args) { FILE: commands/api.go function init (line 145) | func init() { function apiCommand (line 149) | func apiCommand(_ *Command, args *Args) { function pauseUntil (line 327) | func pauseUntil(timestamp int) { constant trueVal (line 337) | trueVal = "true" constant falseVal (line 338) | falseVal = "false" constant nilVal (line 339) | nilVal = "null" function magicValue (line 342) | func magicValue(value string) interface{} { function readFile (line 361) | func readFile(file string) (content []byte) { FILE: commands/apply.go function init (line 58) | func init() { function apply (line 63) | func apply(command *Command, args *Args) { function transformApplyArgs (line 69) | func transformApplyArgs(args *Args) { FILE: commands/args.go type Args (line 11) | type Args struct method Words (line 26) | func (a *Args) Words() []string { method Before (line 37) | func (a *Args) Before(command ...string) { method After (line 41) | func (a *Args) After(command ...string) { method AfterFn (line 45) | func (a *Args) AfterFn(fn func() error) { method NoForward (line 49) | func (a *Args) NoForward() { method Replace (line 53) | func (a *Args) Replace(executable, command string, params ...string) { method Commands (line 61) | func (a *Args) Commands() []*cmd.Cmd { method ToCmd (line 87) | func (a *Args) ToCmd() *cmd.Cmd { method GetParam (line 101) | func (a *Args) GetParam(i int) string { method FirstParam (line 105) | func (a *Args) FirstParam() string { method LastParam (line 113) | func (a *Args) LastParam() string { method HasSubcommand (line 121) | func (a *Args) HasSubcommand() bool { method InsertParam (line 125) | func (a *Args) InsertParam(i int, items ...string) { method RemoveParam (line 142) | func (a *Args) RemoveParam(i int) string { method ReplaceParam (line 148) | func (a *Args) ReplaceParam(i int, item string) { method IndexOfParam (line 156) | func (a *Args) IndexOfParam(param string) int { method ParamsSize (line 166) | func (a *Args) ParamsSize() int { method IsParamsEmpty (line 170) | func (a *Args) IsParamsEmpty() bool { method PrependParams (line 174) | func (a *Args) PrependParams(params ...string) { method AppendParams (line 178) | func (a *Args) AppendParams(params ...string) { function NewArgs (line 182) | func NewArgs(args []string) *Args { constant noopFlag (line 218) | noopFlag = "--noop" constant versionFlag (line 219) | versionFlag = "--version" constant listCmds (line 220) | listCmds = "--list-cmds=" constant helpFlag (line 221) | helpFlag = "--help" constant configFlag (line 222) | configFlag = "-c" constant chdirFlag (line 223) | chdirFlag = "-C" constant flagPrefix (line 224) | flagPrefix = "-" function looksLikeFlag (line 227) | func looksLikeFlag(value string) bool { function findCommandIndex (line 231) | func findCommandIndex(args []string) int { FILE: commands/args_test.go function TestNewArgs (line 9) | func TestNewArgs(t *testing.T) { function TestArgs_Words (line 31) | func TestArgs_Words(t *testing.T) { function TestArgs_Insert (line 40) | func TestArgs_Insert(t *testing.T) { function TestArgs_Remove (line 67) | func TestArgs_Remove(t *testing.T) { function TestArgs_GlobalFlags (line 77) | func TestArgs_GlobalFlags(t *testing.T) { function TestArgs_GlobalFlags_Noop (line 85) | func TestArgs_GlobalFlags_Noop(t *testing.T) { function TestArgs_GlobalFlags_NoopTwice (line 93) | func TestArgs_GlobalFlags_NoopTwice(t *testing.T) { function TestArgs_GlobalFlags_Repeated (line 101) | func TestArgs_GlobalFlags_Repeated(t *testing.T) { function TestArgs_GlobalFlags_Propagate (line 109) | func TestArgs_GlobalFlags_Propagate(t *testing.T) { function TestArgs_GlobalFlags_Replaced (line 115) | func TestArgs_GlobalFlags_Replaced(t *testing.T) { function TestArgs_ToCmd (line 123) | func TestArgs_ToCmd(t *testing.T) { function TestArgs_GlobalFlags_BeforeAfterChain (line 129) | func TestArgs_GlobalFlags_BeforeAfterChain(t *testing.T) { FILE: commands/browse.go function init (line 49) | func init() { function browse (line 53) | func browse(command *Command, args *Args) { function branchInURL (line 129) | func branchInURL(branch *github.Branch) string { FILE: commands/checkout.go function init (line 29) | func init() { function checkout (line 33) | func checkout(command *Command, args *Args) { function transformCheckoutArgs (line 76) | func transformCheckoutArgs(args *Args, pullRequest *github.PullRequest, ... function sanitizeCheckoutFlags (line 150) | func sanitizeCheckoutFlags(args *Args) error { function replaceCheckoutParam (line 162) | func replaceCheckoutParam(args *Args, checkoutURL string, replacement ..... FILE: commands/cherry_pick.go function init (line 26) | func init() { function cherryPick (line 30) | func cherryPick(command *Command, args *Args) { function transformCherryPickArgs (line 36) | func transformCherryPickArgs(args *Args) { FILE: commands/ci_status.go function init (line 57) | func init() { function checkSeverity (line 72) | func checkSeverity(targetState string) int { function ciStatus (line 81) | func ciStatus(cmd *Command, args *Args) { function ciVerboseFormat (line 143) | func ciVerboseFormat(statuses []github.CIStatus, formatString string, co... function stateRank (line 196) | func stateRank(state string) uint32 { FILE: commands/clone.go function init (line 44) | func init() { function clone (line 48) | func clone(command *Command, args *Args) { function transformCloneArgs (line 54) | func transformCloneArgs(args *Args) { function parseClonePrivateFlag (line 88) | func parseClonePrivateFlag(args *Args) bool { function getCloneURL (line 97) | func getCloneURL(nameWithOwner string, allowPush, allowPrivate bool) str... FILE: commands/commands.go type Command (line 19) | type Command struct method Call (line 32) | func (c *Command) Call(args *Args) (err error) { method parseArguments (line 58) | func (c *Command) parseArguments(args *Args) error { method Use (line 77) | func (c *Command) Use(subCommand *Command) { method UsageError (line 85) | func (c *Command) UsageError(msg string) error { method Synopsis (line 93) | func (c *Command) Synopsis() string { method HelpText (line 111) | func (c *Command) HelpText() string { method Name (line 136) | func (c *Command) Name() string { method Runnable (line 144) | func (c *Command) Runnable() bool { method lookupSubCommand (line 148) | func (c *Command) lookupSubCommand(args *Args) (runCommand *Command, e... type ErrHelp (line 50) | type ErrHelp struct method Error (line 54) | func (e ErrHelp) Error() string { FILE: commands/commands_test.go function TestMain (line 13) | func TestMain(m *testing.M) { function TestCommandUseSelf (line 18) | func TestCommandUseSelf(t *testing.T) { function TestCommandUseSubcommand (line 29) | func TestCommandUseSubcommand(t *testing.T) { function TestCommandUseErrorWhenMissingSubcommand (line 42) | func TestCommandUseErrorWhenMissingSubcommand(t *testing.T) { function TestArgsForCommand (line 54) | func TestArgsForCommand(t *testing.T) { function TestArgsForSubCommand (line 64) | func TestArgsForSubCommand(t *testing.T) { function TestFlagsAfterArguments (line 76) | func TestFlagsAfterArguments(t *testing.T) { function TestCommandNameTakeKey (line 87) | func TestCommandNameTakeKey(t *testing.T) { function TestCommandCall (line 92) | func TestCommandCall(t *testing.T) { function TestCommandHelp (line 103) | func TestCommandHelp(t *testing.T) { function TestSubCommandCall (line 113) | func TestSubCommandCall(t *testing.T) { function Test_NameWithOwnerRe (line 128) | func Test_NameWithOwnerRe(t *testing.T) { FILE: commands/compare.go function init (line 63) | func init() { function compare (line 67) | func compare(command *Command, args *Args) { function parseCompareRange (line 132) | func parseCompareRange(r string) string { function rangeQueryEscape (line 149) | func rangeQueryEscape(r string) string { FILE: commands/compare_test.go function TestParseRange (line 8) | func TestParseRange(t *testing.T) { FILE: commands/create.go function init (line 59) | func init() { function create (line 63) | func create(command *Command, args *Args) { FILE: commands/delete.go function init (line 41) | func init() { function deleteRepo (line 45) | func deleteRepo(command *Command, args *Args) { FILE: commands/fetch.go function init (line 31) | func init() { function fetch (line 35) | func fetch(command *Command, args *Args) { function transformFetchArgs (line 42) | func transformFetchArgs(args *Args) error { function parseRemoteNames (line 76) | func parseRemoteNames(args *Args) (names []string) { FILE: commands/fetch_test.go function TestParseRemoteNames (line 8) | func TestParseRemoteNames(t *testing.T) { FILE: commands/fork.go function init (line 41) | func init() { function fork (line 45) | func fork(cmd *Command, args *Args) { FILE: commands/gist.go function init (line 74) | func init() { function getGist (line 80) | func getGist(gh *github.Client, id string, filename string) error { function printGistHelp (line 110) | func printGistHelp(command *Command, args *Args) { function createGist (line 114) | func createGist(cmd *Command, args *Args) { function showGist (line 144) | func showGist(cmd *Command, args *Args) { FILE: commands/help.go function init (line 46) | func init() { function runHelp (line 51) | func runHelp(helpCmd *Command, args *Args) { function runListCmds (line 114) | func runListCmds(cmd *Command, args *Args) { function displayManPage (line 137) | func displayManPage(manPage string, args *Args, isWeb bool) error { function lookupCmd (line 189) | func lookupCmd(name string) *Command { function customCommands (line 200) | func customCommands() []string { FILE: commands/init.go function init (line 37) | func init() { function gitInit (line 41) | func gitInit(command *Command, args *Args) { function transformInitArgs (line 46) | func transformInitArgs(args *Args) error { function parseInitFlag (line 93) | func parseInitFlag(args *Args) bool { FILE: commands/init_test.go function setupInitContext (line 13) | func setupInitContext() { function TestEmptyParams (line 19) | func TestEmptyParams(t *testing.T) { function TestFlagToAddRemote (line 29) | func TestFlagToAddRemote(t *testing.T) { function TestInitInAnotherDir (line 51) | func TestInitInAnotherDir(t *testing.T) { function TestSeparateGitDir (line 73) | func TestSeparateGitDir(t *testing.T) { FILE: commands/issue.go function init (line 251) | func init() { function listIssues (line 260) | func listIssues(cmd *Command, args *Args) { function formatIssuePlaceholders (line 348) | func formatIssuePlaceholders(issue github.Issue, colorize bool) map[stri... function formatPullRequestPlaceholders (line 430) | func formatPullRequestPlaceholders(pr github.PullRequest, colorize bool)... function formatIssue (line 493) | func formatIssue(issue github.Issue, format string, colorize bool) string { function showIssue (line 498) | func showIssue(cmd *Command, args *Args) { function createIssue (line 556) | func createIssue(cmd *Command, args *Args) { function updateIssue (line 631) | func updateIssue(cmd *Command, args *Args) { function listLabels (line 704) | func listLabels(cmd *Command, args *Args) { function hasField (line 728) | func hasField(args *Args, names ...string) bool { function setLabelsFromArgs (line 738) | func setLabelsFromArgs(params map[string]interface{}, args *Args) { function setAssigneesFromArgs (line 745) | func setAssigneesFromArgs(params map[string]interface{}, args *Args) { function setMilestoneFromArgs (line 752) | func setMilestoneFromArgs(params map[string]interface{}, args *Args, gh ... function colorizeOutput (line 765) | func colorizeOutput(colorSet bool, when string) bool { function formatLabel (line 782) | func formatLabel(label github.IssueLabel, colorize bool) string { function colorizeLabel (line 791) | func colorizeLabel(label github.IssueLabel, color *utils.Color) string { type contrastCandidate (line 799) | type contrastCandidate struct function pickHighContrastTextColor (line 804) | func pickHighContrastTextColor(color *utils.Color) *utils.Color { function milestoneValueToNumber (line 829) | func milestoneValueToNumber(value string, client *github.Client, project... function transferIssue (line 851) | func transferIssue(cmd *Command, args *Args) { FILE: commands/issue_test.go type formatIssueTest (line 10) | type formatIssueTest struct function testFormatIssue (line 18) | func testFormatIssue(t *testing.T, tests []formatIssueTest) { function TestFormatIssue (line 27) | func TestFormatIssue(t *testing.T) { function TestFormatIssue_customFormatString (line 103) | func TestFormatIssue_customFormatString(t *testing.T) { FILE: commands/merge.go function init (line 35) | func init() { function merge (line 39) | func merge(command *Command, args *Args) { function transformMergeArgs (line 46) | func transformMergeArgs(args *Args) error { FILE: commands/pr.go function init (line 222) | func init() { function printHelp (line 230) | func printHelp(command *Command, args *Args) { function listPulls (line 234) | func listPulls(cmd *Command, args *Args) { function checkoutPr (line 296) | func checkoutPr(command *Command, args *Args) { function showPr (line 327) | func showPr(command *Command, args *Args) { function findCurrentPullRequest (line 372) | func findCurrentPullRequest(localRepo *github.GitHubRepo, gh *github.Cli... function branchTrackingInformation (line 407) | func branchTrackingInformation(branch *github.Branch) (string, *github.B... function findPushTarget (line 426) | func findPushTarget(branch *github.Branch) (*github.Branch, *github.Proj... function deducePushTarget (line 451) | func deducePushTarget(branch *github.Branch, owner string) (*github.Proj... function mergePr (line 459) | func mergePr(command *Command, args *Args) { function formatPullRequest (line 523) | func formatPullRequest(pr github.PullRequest, format string, colorize bo... FILE: commands/pull_request.go function init (line 130) | func init() { function pullRequest (line 134) | func pullRequest(cmd *Command, args *Args) { function parsePullRequestProject (line 443) | func parsePullRequestProject(context *github.Project, s string) (p *gith... function parsePullRequestIssueNumber (line 460) | func parsePullRequestIssueNumber(url string) string { function commaSeparated (line 475) | func commaSeparated(l []string) []string { FILE: commands/pull_request_test.go function TestPullRequest_ParsePullRequestProject (line 10) | func TestPullRequest_ParsePullRequestProject(t *testing.T) { FILE: commands/push.go function init (line 31) | func init() { function push (line 35) | func push(command *Command, args *Args) { function transformPushArgs (line 41) | func transformPushArgs(args *Args) { FILE: commands/push_test.go function TestTransformPushArgs (line 8) | func TestTransformPushArgs(t *testing.T) { FILE: commands/release.go function init (line 229) | func init() { function listReleases (line 238) | func listReleases(cmd *Command, args *Args) { function formatRelease (line 273) | func formatRelease(release github.Release, format string, colorize bool)... function showRelease (line 328) | func showRelease(cmd *Command, args *Args) { function downloadRelease (line 378) | func downloadRelease(cmd *Command, args *Args) { function downloadReleaseAsset (line 426) | func downloadReleaseAsset(asset github.ReleaseAsset, gh *github.Client) ... function createRelease (line 446) | func createRelease(cmd *Command, args *Args) { function editRelease (line 543) | func editRelease(cmd *Command, args *Args) { function deleteRelease (line 648) | func deleteRelease(cmd *Command, args *Args) { function openAssetFiles (line 680) | func openAssetFiles(args []string) ([]github.LocalAsset, func(), error) { function pluralize (line 719) | func pluralize(count int, label string) string { FILE: commands/remote.go function init (line 45) | func init() { function remote (line 51) | func remote(command *Command, args *Args) { function transformRemoteArgs (line 57) | func transformRemoteArgs(args *Args) { function parseRemotePrivateFlag (line 143) | func parseRemotePrivateFlag(args *Args) bool { FILE: commands/remote_test.go function TestTransformRemoteArgs (line 13) | func TestTransformRemoteArgs(t *testing.T) { FILE: commands/runner.go type Runner (line 13) | type Runner struct method All (line 23) | func (r *Runner) All() map[string]*Command { method Use (line 27) | func (r *Runner) Use(command *Command, aliases ...string) { method Lookup (line 34) | func (r *Runner) Lookup(name string) *Command { method Execute (line 38) | func (r *Runner) Execute(cliArgs []string) error { function NewRunner (line 17) | func NewRunner() *Runner { function callRunnableCommand (line 86) | func callRunnableCommand(cmd *Command, args *Args) error { function printCommands (line 108) | func printCommands(cmds []*cmd.Cmd) { function executeCommands (line 114) | func executeCommands(cmds []*cmd.Cmd, execFinal bool) error { function expandAlias (line 132) | func expandAlias(args *Args) { function isBuiltInHubCommand (line 148) | func isBuiltInHubCommand(command string) bool { function splitAliasCmd (line 157) | func splitAliasCmd(cmd string) ([]string, error) { FILE: commands/runner_test.go function TestRunner_splitAliasCmd (line 9) | func TestRunner_splitAliasCmd(t *testing.T) { FILE: commands/submodule.go function init (line 19) | func init() { function submodule (line 23) | func submodule(command *Command, args *Args) { function transformSubmoduleArgs (line 29) | func transformSubmoduleArgs(args *Args) { FILE: commands/sync.go function init (line 37) | func init() { function sync (line 41) | func sync(cmd *Command, args *Args) { FILE: commands/utils.go type stringSliceValue (line 17) | type stringSliceValue method Set (line 19) | func (s *stringSliceValue) Set(val string) error { method String (line 24) | func (s *stringSliceValue) String() string { type listFlag (line 28) | type listFlag method String (line 30) | func (l *listFlag) String() string { method Set (line 34) | func (l *listFlag) Set(value string) error { type messageBlocks (line 41) | type messageBlocks method String (line 43) | func (m *messageBlocks) String() string { method Set (line 47) | func (m *messageBlocks) Set(value string) error { function isCloneable (line 52) | func isCloneable(file string) bool { function isEmptyDir (line 80) | func isEmptyDir(path string) bool { function msgFromFile (line 86) | func msgFromFile(filename string) (string, error) { function printBrowseOrCopy (line 102) | func printBrowseOrCopy(args *Args, msg string, openBrowser bool, perform... FILE: commands/utils_test.go function TestDirIsNotEmpty (line 11) | func TestDirIsNotEmpty(t *testing.T) { function TestDirIsEmpty (line 19) | func TestDirIsEmpty(t *testing.T) { function createTempDir (line 26) | func createTempDir(t *testing.T) string { FILE: commands/version.go function init (line 15) | func init() { function runVersion (line 19) | func runVersion(cmd *Command, args *Args) { FILE: coverage/coverage.go function init (line 14) | func init() { function Record (line 23) | func Record(data interface{}, i int) { function write (line 37) | func write(data interface{}, i, count int, filename string) { FILE: features/support/completion.rb function set_shell (line 132) | def set_shell(shell) function tmux_pane? (line 148) | def tmux_pane? function tmux_pane_contents (line 152) | def tmux_pane_contents function tmux_send_keys (line 157) | def tmux_send_keys(*keys) function tmux_send_tab (line 161) | def tmux_send_tab function tmux_kill_pane (line 166) | def tmux_kill_pane function tmux_wait_for_prompt (line 170) | def tmux_wait_for_prompt function tmux_wait_for_completion (line 179) | def tmux_wait_for_completion function tmux_output_lines (line 194) | def tmux_output_lines function tmux_completion_menu (line 200) | def tmux_completion_menu function tmux_completion_menu_basic (line 220) | def tmux_completion_menu_basic FILE: features/support/env.rb function type (line 99) | def type(*args) function history (line 103) | def history function assert_command_run (line 112) | def assert_command_run cmd function edit_hub_config (line 117) | def edit_hub_config function empty_commit (line 138) | def empty_commit(message = nil) function shell_escape (line 146) | def shell_escape(message) function run_ignored_command (line 151) | def run_ignored_command(cmd_string) FILE: features/support/local_server.rb type Hub (line 7) | module Hub class LocalServer (line 8) | class LocalServer class Identify (line 9) | class Identify < Struct.new(:app) method call (line 10) | def call(env) method ports (line 19) | def self.ports class JsonParamsParser (line 23) | class JsonParamsParser < Struct.new(:app) method call (line 24) | def call(env) method input_parsed? (line 33) | def input_parsed? env method type_match? (line 37) | def type_match? env class App (line 43) | class App < Sinatra::Base method invoke (line 44) | def invoke method blank_response? (line 52) | def blank_response?(obj) method start_sinatra (line 57) | def self.start_sinatra(&block) method initialize (line 123) | def initialize(app, host = '127.0.0.1') method responsive? (line 130) | def responsive? method start (line 140) | def start method start_handler (line 162) | def start_handler(app) method server_options (line 170) | def server_options method stop (line 180) | def stop FILE: fixtures/fixtures.go function Path (line 8) | func Path(segment ...string) string { FILE: fixtures/test_configs.go type TestConfigs (line 8) | type TestConfigs struct method TearDown (line 12) | func (c *TestConfigs) TearDown() { function SetupTomlTestConfig (line 17) | func SetupTomlTestConfig() *TestConfigs { function SetupTomlTestConfigWithUnixSocket (line 31) | func SetupTomlTestConfigWithUnixSocket() *TestConfigs { function SetupTestConfigs (line 46) | func SetupTestConfigs() *TestConfigs { function SetupTestConfigsWithUnixSocket (line 60) | func SetupTestConfigsWithUnixSocket() *TestConfigs { function SetupTestConfigsInvalidHostName (line 75) | func SetupTestConfigsInvalidHostName() *TestConfigs { function SetupTestConfigsInvalidHostEntry (line 90) | func SetupTestConfigsInvalidHostEntry() *TestConfigs { function SetupTestConfigsInvalidPropertyValue (line 101) | func SetupTestConfigsInvalidPropertyValue() *TestConfigs { FILE: fixtures/test_repo.go type TestRepo (line 12) | type TestRepo struct method AddRemote (line 17) | func (r *TestRepo) AddRemote(name, url, pushURL string) { method AddFile (line 30) | func (r *TestRepo) AddFile(filePath string, content string) { function SetupTestRepo (line 40) | func SetupTestRepo() *TestRepo { FILE: git/git.go function Version (line 14) | func Version() (string, error) { function Dir (line 25) | func Dir() (string, error) { function WorkdirName (line 68) | func WorkdirName() (string, error) { function HasFile (line 79) | func HasFile(segments ...string) bool { function Editor (line 107) | func Editor() (string, error) { function Head (line 118) | func Head() (string, error) { function SymbolicRef (line 123) | func SymbolicRef(ref string) (string, error) { function SymbolicFullName (line 131) | func SymbolicFullName(name string) (string, error) { function Ref (line 142) | func Ref(ref string) (string, error) { function RefList (line 153) | func RefList(a, b string) ([]string, error) { function NewRange (line 165) | func NewRange(a, b string) (*Range, error) { type Range (line 180) | type Range struct method IsIdentical (line 185) | func (r *Range) IsIdentical() bool { method IsAncestor (line 189) | func (r *Range) IsAncestor() bool { function CommentChar (line 194) | func CommentChar(text string) (string, error) { function Show (line 216) | func Show(sha string) (string, error) { function Log (line 226) | func Log(sha1, sha2 string) (string, error) { function Remotes (line 242) | func Remotes() ([]string, error) { function Config (line 249) | func Config(name string) (string, error) { function ConfigAll (line 253) | func ConfigAll(name string) ([]string, error) { function GlobalConfig (line 267) | func GlobalConfig(name string) (string, error) { function SetGlobalConfig (line 271) | func SetGlobalConfig(name, value string) error { function gitGetConfig (line 276) | func gitGetConfig(args ...string) (string, error) { function gitConfig (line 286) | func gitConfig(args ...string) ([]string, error) { function gitConfigCommand (line 292) | func gitConfigCommand(args []string) []string { function Alias (line 297) | func Alias(name string) (string, error) { function Run (line 301) | func Run(args ...string) error { function Spawn (line 306) | func Spawn(args ...string) error { function Quiet (line 311) | func Quiet(args ...string) bool { function IsGitDir (line 316) | func IsGitDir(dir string) bool { function LocalBranches (line 322) | func LocalBranches() ([]string, error) { function outputLines (line 336) | func outputLines(output string) []string { function firstLine (line 344) | func firstLine(output string) string { function gitCmd (line 351) | func gitCmd(args ...string) *cmd.Cmd { function IsBuiltInGitCommand (line 365) | func IsBuiltInGitCommand(command string) bool { FILE: git/git_test.go function TestGitDir (line 13) | func TestGitDir(t *testing.T) { function TestGitEditor (line 21) | func TestGitEditor(t *testing.T) { function TestGitLog (line 45) | func TestGitLog(t *testing.T) { function TestGitRef (line 54) | func TestGitRef(t *testing.T) { function TestGitRefList (line 64) | func TestGitRefList(t *testing.T) { function TestGitShow (line 75) | func TestGitShow(t *testing.T) { function TestGitConfig (line 84) | func TestGitConfig(t *testing.T) { function TestRemotes (line 102) | func TestRemotes(t *testing.T) { function TestCommentChar (line 158) | func TestCommentChar(t *testing.T) { FILE: git/ssh_config.go constant hostReStr (line 14) | hostReStr = "(?i)^[ \t]*(host|hostname)[ \t]+(.+)$" type SSHConfig (line 17) | type SSHConfig function newSSHConfigReader (line 19) | func newSSHConfigReader() *SSHConfigReader { type SSHConfigReader (line 33) | type SSHConfigReader struct method Read (line 37) | func (r *SSHConfigReader) Read() SSHConfig { method readFile (line 48) | func (r *SSHConfigReader) readFile(c SSHConfig, re *regexp.Regexp, f s... function expandTokens (line 79) | func expandTokens(text, host string) string { FILE: git/ssh_config_test.go function TestSSHConfigReader_Read (line 11) | func TestSSHConfigReader_Read(t *testing.T) { function TestSSHConfigReader_ExpandTokens (line 28) | func TestSSHConfigReader_ExpandTokens(t *testing.T) { FILE: git/url.go type URLParser (line 14) | type URLParser struct method Parse (line 18) | func (p *URLParser) Parse(rawURL string) (u *url.URL, err error) { function ParseURL (line 58) | func ParseURL(rawURL string) (u *url.URL, err error) { FILE: git/url_test.go function createURLParser (line 9) | func createURLParser() *URLParser { function TestURLParser_ParseURL_HTTPURL (line 18) | func TestURLParser_ParseURL_HTTPURL(t *testing.T) { function TestURLParser_ParseURL_GitURL (line 28) | func TestURLParser_ParseURL_GitURL(t *testing.T) { function TestURLParser_ParseURL_SSHURL (line 50) | func TestURLParser_ParseURL_SSHURL(t *testing.T) { function TestURLParser_ParseURL_LocalPath (line 73) | func TestURLParser_ParseURL_LocalPath(t *testing.T) { FILE: github/branch.go type Branch (line 11) | type Branch struct method ShortName (line 16) | func (b *Branch) ShortName() string { method LongName (line 21) | func (b *Branch) LongName() string { method RemoteName (line 26) | func (b *Branch) RemoteName() string { method Upstream (line 35) | func (b *Branch) Upstream() (u *Branch, err error) { method IsMaster (line 46) | func (b *Branch) IsMaster() bool { method IsRemote (line 51) | func (b *Branch) IsRemote() bool { FILE: github/branch_test.go function TestBranch_ShortName (line 9) | func TestBranch_ShortName(t *testing.T) { function TestBranch_LongName (line 15) | func TestBranch_LongName(t *testing.T) { function TestBranch_RemoteName (line 25) | func TestBranch_RemoteName(t *testing.T) { function TestBranch_IsRemote (line 35) | func TestBranch_IsRemote(t *testing.T) { FILE: github/client.go constant GitHubHost (line 24) | GitHubHost string = "github.com" constant OAuthAppURL (line 25) | OAuthAppURL string = "https://hub.github.com/" function NewClient (line 30) | func NewClient(h string) *Client { function NewClientWithHost (line 34) | func NewClientWithHost(host *Host) *Client { type Client (line 38) | type Client struct method FetchPullRequests (line 58) | func (client *Client) FetchPullRequests(project *Project, filterParams... method PullRequest (line 97) | func (client *Client) PullRequest(project *Project, id string) (pr *Pu... method PullRequestPatch (line 114) | func (client *Client) PullRequestPatch(project *Project, id string) (p... method CreatePullRequest (line 128) | func (client *Client) CreatePullRequest(project *Project, params map[s... method MergePullRequest (line 155) | func (client *Client) MergePullRequest(project *Project, prNumber int,... method DeleteBranch (line 171) | func (client *Client) DeleteBranch(project *Project, branchName string... method RequestReview (line 191) | func (client *Client) RequestReview(project *Project, prNumber int, pa... method CommitPatch (line 206) | func (client *Client) CommitPatch(project *Project, sha string) (patch... method GistPatch (line 220) | func (client *Client) GistPatch(id string) (patch io.ReadCloser, err e... method Repository (line 249) | func (client *Client) Repository(project *Project) (repo *Repository, ... method CreateRepository (line 265) | func (client *Client) CreateRepository(project *Project, description, ... method DeleteRepository (line 293) | func (client *Client) DeleteRepository(project *Project) error { method FetchReleases (line 328) | func (client *Client) FetchReleases(project *Project, limit int, filte... method FetchRelease (line 364) | func (client *Client) FetchRelease(project *Project, tagName string) (... method CreateRelease (line 378) | func (client *Client) CreateRelease(project *Project, releaseParams *R... method EditRelease (line 394) | func (client *Client) EditRelease(release *Release, releaseParams map[... method DeleteRelease (line 410) | func (client *Client) DeleteRelease(release *Release) (err error) { method UploadReleaseAssets (line 431) | func (client *Client) UploadReleaseAssets(release *Release, assets []L... method DeleteReleaseAsset (line 491) | func (client *Client) DeleteReleaseAsset(asset *ReleaseAsset) (err err... method DownloadReleaseAsset (line 503) | func (client *Client) DownloadReleaseAsset(url string) (asset io.ReadC... method FetchCIStatus (line 539) | func (client *Client) FetchCIStatus(project *Project, sha string) (sta... method ForkRepository (line 617) | func (client *Client) ForkRepository(project *Project, params map[stri... method FetchIssues (line 725) | func (client *Client) FetchIssues(project *Project, filterParams map[s... method FetchIssue (line 764) | func (client *Client) FetchIssue(project *Project, number string) (iss... method FetchComments (line 780) | func (client *Client) FetchComments(project *Project, number string) (... method CreateIssue (line 796) | func (client *Client) CreateIssue(project *Project, params interface{}... method UpdateIssue (line 812) | func (client *Client) UpdateIssue(project *Project, issueNumber int, p... method FetchLabels (line 839) | func (client *Client) FetchLabels(project *Project) (labels []IssueLab... method FetchMilestones (line 869) | func (client *Client) FetchMilestones(project *Project) (milestones []... method GenericAPIRequest (line 897) | func (client *Client) GenericAPIRequest(method, path string, data inte... method GraphQL (line 931) | func (client *Client) GraphQL(query string, variables interface{}, dat... method CurrentUser (line 969) | func (client *Client) CurrentUser() (user *User, err error) { method FindOrCreateToken (line 1001) | func (client *Client) FindOrCreateToken(user, password, twoFactorCode ... method ensureAccessToken (line 1057) | func (client *Client) ensureAccessToken() error { method simpleAPI (line 1068) | func (client *Client) simpleAPI() (c *simpleClient, err error) { method apiClient (line 1095) | func (client *Client) apiClient() *simpleClient { method absolute (line 1109) | func (client *Client) absolute(host string) *url.URL { method FetchGist (line 1119) | func (client *Client) FetchGist(id string) (gist *Gist, err error) { method CreateGist (line 1134) | func (client *Client) CreateGist(filenames []string, public bool) (gis... type Gist (line 43) | type Gist struct type GistFile (line 51) | type GistFile struct type PullRequestMergeResponse (line 149) | type PullRequestMergeResponse struct type Release (line 304) | type Release struct type ReleaseAsset (line 321) | type ReleaseAsset struct type LocalAsset (line 424) | type LocalAsset struct type CIStatusResponse (line 517) | type CIStatusResponse struct type CIStatus (line 522) | type CIStatus struct type CheckRunsResponse (line 528) | type CheckRunsResponse struct type CheckRun (line 532) | type CheckRun struct type Repository (line 599) | type Repository struct type RepositoryPermissions (line 611) | type RepositoryPermissions struct type Comment (line 634) | type Comment struct type Issue (line 641) | type Issue struct type PullRequest (line 673) | type PullRequest method IsSameRepo (line 682) | func (pr *PullRequest) IsSameRepo() bool { method HasRequestedReviewer (line 688) | func (pr *PullRequest) HasRequestedReviewer(name string) bool { method HasRequestedTeam (line 697) | func (pr *PullRequest) HasRequestedTeam(name string) bool { type PullRequestSpec (line 675) | type PullRequestSpec struct type IssueLabel (line 706) | type IssueLabel struct type User (line 711) | type User struct type Team (line 715) | type Team struct type Milestone (line 720) | type Milestone struct type sortedLabels (line 827) | type sortedLabels method Len (line 829) | func (s sortedLabels) Len() int { method Swap (line 832) | func (s sortedLabels) Swap(i, j int) { method Less (line 835) | func (s sortedLabels) Less(i, j int) bool { type AuthorizationEntry (line 985) | type AuthorizationEntry struct function isToken (line 989) | func isToken(api *simpleClient, password string) bool { function normalizeHost (line 1173) | func normalizeHost(host string) string { function reverseNormalizeHost (line 1185) | func reverseNormalizeHost(host string) string { function checkStatus (line 1196) | func checkStatus(expectedStatus int, action string, response *simpleResp... function FormatError (line 1214) | func FormatError(action string, err error) error { function formatError (line 1221) | func formatError(action string, e *errorInfo) error { function ValidateGitHubSSO (line 1270) | func ValidateGitHubSSO(res *http.Response) error { function ValidateSufficientOAuthScopes (line 1285) | func ValidateSufficientOAuthScopes(res *http.Response) error { function isGistWrite (line 1308) | func isGistWrite(req *http.Request) bool { type scopeSet (line 1316) | type scopeSet method String (line 1318) | func (s scopeSet) String() string { method Intersects (line 1327) | func (s scopeSet) Intersects(other scopeSet) bool { function newScopeSet (line 1336) | func newScopeSet(s string) scopeSet { function authTokenNote (line 1346) | func authTokenNote(num int) (string, error) { function perPage (line 1374) | func perPage(limit, max int) int { function addQuery (line 1384) | func addQuery(path string, params map[string]interface{}) string { FILE: github/client_test.go function TestClient_FormatError (line 12) | func TestClient_FormatError(t *testing.T) { function TestAuthTokenNote (line 34) | func TestAuthTokenNote(t *testing.T) { FILE: github/config.go type yamlHost (line 21) | type yamlHost struct type Host (line 28) | type Host struct type Config (line 36) | type Config struct method PromptForHost (line 42) | func (c *Config) PromptForHost(host string) (h *Host, err error) { method authorizeClient (line 118) | func (c *Config) authorizeClient(client *Client, host string) (err err... method DetectToken (line 146) | func (c *Config) DetectToken() string { method PromptForUser (line 150) | func (c *Config) PromptForUser(host string) (user string) { method PromptForPassword (line 162) | func (c *Config) PromptForPassword(host, user string) (pass string) { method PromptForOTP (line 180) | func (c *Config) PromptForOTP() string { method scanLine (line 185) | func (c *Config) scanLine() string { method Find (line 230) | func (c *Config) Find(host string) *Host { method selectHost (line 240) | func (c *Config) selectHost() *Host { method DefaultHost (line 338) | func (c *Config) DefaultHost() (host *Host, err error) { method DefaultHostNoPrompt (line 352) | func (c *Config) DefaultHostNoPrompt() (*Host, error) { function getPassword (line 199) | func getPassword() (string, error) { function configsFile (line 265) | func configsFile() string { function homeConfig (line 277) | func homeConfig() (string, error) { function determineConfigLocation (line 285) | func determineConfigLocation() (string, error) { function CurrentConfig (line 327) | func CurrentConfig() *Config { function CheckWriteable (line 367) | func CheckWriteable(filename string) error { function CreateTestConfigs (line 397) | func CreateTestConfigs(user, token string) *Config { FILE: github/config_decoder.go type configDecoder (line 12) | type configDecoder interface type tomlConfigDecoder (line 16) | type tomlConfigDecoder struct method Decode (line 19) | func (t *tomlConfigDecoder) Decode(r io.Reader, c *Config) error { type yamlConfigDecoder (line 24) | type yamlConfigDecoder struct method Decode (line 27) | func (y *yamlConfigDecoder) Decode(r io.Reader, c *Config) error { FILE: github/config_encoder.go type configEncoder (line 10) | type configEncoder interface type tomlConfigEncoder (line 14) | type tomlConfigEncoder struct method Encode (line 17) | func (t *tomlConfigEncoder) Encode(w io.Writer, c *Config) error { type yamlConfigEncoder (line 22) | type yamlConfigEncoder struct method Encode (line 25) | func (y *yamlConfigEncoder) Encode(w io.Writer, c *Config) error { FILE: github/config_service.go function newConfigService (line 8) | func newConfigService() *configService { type configService (line 15) | type configService struct method Save (line 20) | func (s *configService) Save(filename string, c *Config) error { method Load (line 35) | func (s *configService) Load(filename string, c *Config) error { FILE: github/config_service_test.go function TestConfigService_TomlLoad (line 13) | func TestConfigService_TomlLoad(t *testing.T) { function TestConfigService_TomlLoad_UnixSocket (line 33) | func TestConfigService_TomlLoad_UnixSocket(t *testing.T) { function TestConfigService_YamlLoad (line 55) | func TestConfigService_YamlLoad(t *testing.T) { function TestConfigService_YamlLoad_Unix_Socket (line 75) | func TestConfigService_YamlLoad_Unix_Socket(t *testing.T) { function TestConfigService_YamlLoad_Invalid_HostName (line 97) | func TestConfigService_YamlLoad_Invalid_HostName(t *testing.T) { function TestConfigService_YamlLoad_Invalid_HostEntry (line 112) | func TestConfigService_YamlLoad_Invalid_HostEntry(t *testing.T) { function TestConfigService_YamlLoad_Invalid_PropertyValue (line 127) | func TestConfigService_YamlLoad_Invalid_PropertyValue(t *testing.T) { function TestConfigService_TomlSave (line 142) | func TestConfigService_TomlSave(t *testing.T) { function TestConfigService_TomlSave_UnixSocket (line 170) | func TestConfigService_TomlSave_UnixSocket(t *testing.T) { function TestConfigService_YamlSave (line 200) | func TestConfigService_YamlSave(t *testing.T) { function TestConfigService_YamlSave_UnixSocket (line 227) | func TestConfigService_YamlSave_UnixSocket(t *testing.T) { FILE: github/crash_report.go constant hubReportCrashConfig (line 20) | hubReportCrashConfig = "hub.reportCrash" constant hubProjectOwner (line 21) | hubProjectOwner = "github" constant hubProjectName (line 22) | hubProjectName = "hub" function CaptureCrash (line 25) | func CaptureCrash() { function reportCrash (line 39) | func reportCrash(err error) { function isOption (line 69) | func isOption(confirm, short, long string) bool { function report (line 73) | func report(reportedError error, stack string) { constant crashReportTmpl (line 93) | crashReportTmpl = "Crash report - %v\n\n" + function reportTitleAndBody (line 99) | func reportTitleAndBody(reportedError error, stack string) (title, body ... function runtimeInfo (line 138) | func runtimeInfo() string { function formatStack (line 142) | func formatStack(buf []byte) string { function reportCrashConfig (line 151) | func reportCrashConfig() (opt string) { FILE: github/crash_report_test.go function TestStackRemoveSelfAndPanic (line 9) | func TestStackRemoveSelfAndPanic(t *testing.T) { FILE: github/editor.go constant Scissors (line 18) | Scissors = "------------------------ >8 ------------------------" function NewEditor (line 20) | func NewEditor(filename, topic, message string) (editor *Editor, err err... type Editor (line 49) | type Editor struct method AddCommentedSection (line 59) | func (e *Editor) AddCommentedSection(text string) { method DeleteFile (line 71) | func (e *Editor) DeleteFile() error { method EditContent (line 75) | func (e *Editor) EditContent() (content string, err error) { method openAndEdit (line 102) | func (e *Editor) openAndEdit() (content []byte, err error) { method writeContent (line 120) | func (e *Editor) writeContent() (err error) { method isFileExist (line 131) | func (e *Editor) isFileExist() bool { method readContent (line 136) | func (e *Editor) readContent() (content []byte, err error) { function openTextEditor (line 140) | func openTextEditor(program, file string) error { FILE: github/editor_test.go function TestEditor_openAndEdit_deleteFileWhenOpeningEditorFails (line 12) | func TestEditor_openAndEdit_deleteFileWhenOpeningEditorFails(t *testing.... function TestEditor_openAndEdit_readFileIfExist (line 39) | func TestEditor_openAndEdit_readFileIfExist(t *testing.T) { function TestEditor_openAndEdit_writeFileIfNotExist (line 60) | func TestEditor_openAndEdit_writeFileIfNotExist(t *testing.T) { FILE: github/hosts.go type HostError (line 17) | type HostError struct method Error (line 21) | func (e *HostError) Error() string { function knownGitHubHostsInclude (line 25) | func knownGitHubHostsInclude(host string) bool { function knownGitHubHosts (line 35) | func knownGitHubHosts() []string { function DefaultGitHubHost (line 57) | func DefaultGitHubHost() string { FILE: github/http.go constant apiPayloadVersion (line 29) | apiPayloadVersion = "application/vnd.github.v3+json;charset=utf-8" constant patchMediaType (line 30) | patchMediaType = "application/vnd.github.v3.patch;charset=utf-8" constant textMediaType (line 31) | textMediaType = "text/plain;charset=utf-8" constant checksType (line 32) | checksType = "application/vnd.github.antiope-preview+json;charset=utf-8" constant draftsType (line 33) | draftsType = "application/vnd.github.shadow-cat-preview+json;charset=utf-8" constant cacheVersion (line 34) | cacheVersion = 2 constant rateLimitRemainingHeader (line 37) | rateLimitRemainingHeader = "X-Ratelimit-Remaining" constant rateLimitResetHeader (line 38) | rateLimitResetHeader = "X-Ratelimit-Reset" type verboseTransport (line 54) | type verboseTransport struct method RoundTrip (line 62) | func (t *verboseTransport) RoundTrip(req *http.Request) (resp *http.Re... method dumpRequest (line 90) | func (t *verboseTransport) dumpRequest(req *http.Request) { method dumpResponse (line 103) | func (t *verboseTransport) dumpResponse(resp *http.Response) { method dumpHeaders (line 116) | func (t *verboseTransport) dumpHeaders(header http.Header, indent stri... method dumpBody (line 137) | func (t *verboseTransport) dumpBody(body io.ReadCloser) io.ReadCloser { method verbosePrintln (line 154) | func (t *verboseTransport) verbosePrintln(msg string) { function inspectableType (line 164) | func inspectableType(ct string) bool { function newHTTPClient (line 168) | func newHTTPClient(testHost string, verbose bool, unixSocket string) *ht... function checkRedirect (line 212) | func checkRedirect(req *http.Request, via []*http.Request) error { function cloneRequest (line 236) | func cloneRequest(req *http.Request) *http.Request { function proxyFromEnvironment (line 249) | func proxyFromEnvironment(req *http.Request) (*url.URL, error) { type simpleClient (line 256) | type simpleClient struct method performRequest (line 263) | func (c *simpleClient) performRequest(method, path string, body io.Rea... method performRequestURL (line 277) | func (c *simpleClient) performRequestURL(method string, url *url.URL, ... method cacheRead (line 317) | func (c *simpleClient) cacheRead(key string, req *http.Request) (res *... method cacheWrite (line 368) | func (c *simpleClient) cacheWrite(key string, res *http.Response) { method jsonRequest (line 440) | func (c *simpleClient) jsonRequest(method, path string, body interface... method Get (line 455) | func (c *simpleClient) Get(path string) (*simpleResponse, error) { method GetFile (line 459) | func (c *simpleClient) GetFile(path string, mimeType string) (*simpleR... method Delete (line 465) | func (c *simpleClient) Delete(path string) (*simpleResponse, error) { method PostJSON (line 469) | func (c *simpleClient) PostJSON(path string, payload interface{}) (*si... method PostJSONPreview (line 473) | func (c *simpleClient) PostJSONPreview(path string, payload interface{... method PutJSON (line 479) | func (c *simpleClient) PutJSON(path string, payload interface{}) (*sim... method PatchJSON (line 483) | func (c *simpleClient) PatchJSON(path string, payload interface{}) (*s... method PostFile (line 487) | func (c *simpleClient) PostFile(path string, contents io.Reader, fileS... function isGraphQL (line 309) | func isGraphQL(req *http.Request) bool { function canCache (line 313) | func canCache(req *http.Request) bool { type readCloserCallback (line 395) | type readCloserCallback struct method Close (line 401) | func (rc *readCloserCallback) Close() error { function cacheKey (line 409) | func cacheKey(req *http.Request) string { function cacheFile (line 436) | func cacheFile(key string) string { type simpleResponse (line 496) | type simpleResponse struct method Unmarshal (line 520) | func (res *simpleResponse) Unmarshal(dest interface{}) (err error) { method ErrorInfo (line 531) | func (res *simpleResponse) ErrorInfo() (msg *errorInfo, err error) { method Link (line 560) | func (res *simpleResponse) Link(name string) string { method RateLimitRemaining (line 571) | func (res *simpleResponse) RateLimitRemaining() int { method RateLimitReset (line 580) | func (res *simpleResponse) RateLimitReset() int { type errorInfo (line 500) | type errorInfo struct method Error (line 516) | func (e *errorInfo) Error() string { type errorInfoSimple (line 505) | type errorInfoSimple struct type fieldError (line 509) | type fieldError struct FILE: github/http_test.go function setupTestServer (line 18) | func setupTestServer(unixSocket string) *testServer { type testServer (line 39) | type testServer struct method Close (line 45) | func (s *testServer) Close() { function TestNewHttpClient_OverrideURL (line 49) | func TestNewHttpClient_OverrideURL(t *testing.T) { function TestNewHttpClient_UnixSocket (line 70) | func TestNewHttpClient_UnixSocket(t *testing.T) { function TestVerboseTransport_VerbosePrintln (line 85) | func TestVerboseTransport_VerbosePrintln(t *testing.T) { FILE: github/localrepo.go function LocalRepo (line 11) | func LocalRepo() (repo *GitHubRepo, err error) { type GitHubRepo (line 23) | type GitHubRepo struct method loadRemotes (line 27) | func (r *GitHubRepo) loadRemotes() error { method RemoteByName (line 41) | func (r *GitHubRepo) RemoteByName(name string) (*Remote, error) { method remotesForPublish (line 55) | func (r *GitHubRepo) remotesForPublish(owner string) (remotes []Remote) { method CurrentBranch (line 96) | func (r *GitHubRepo) CurrentBranch() (branch *Branch, err error) { method MasterBranch (line 107) | func (r *GitHubRepo) MasterBranch() *Branch { method DefaultBranch (line 114) | func (r *GitHubRepo) DefaultBranch(remote *Remote) *Branch { method RemoteBranchAndProject (line 127) | func (r *GitHubRepo) RemoteBranchAndProject(owner string, preferUpstre... method RemoteForBranch (line 193) | func (r *GitHubRepo) RemoteForBranch(branch *Branch, owner string) *Re... method RemoteForRepo (line 203) | func (r *GitHubRepo) RemoteForRepo(repo *Repository) (*Remote, error) { method RemoteForProject (line 225) | func (r *GitHubRepo) RemoteForProject(project *Project) (*Remote, erro... method MainRemote (line 239) | func (r *GitHubRepo) MainRemote() (*Remote, error) { method MainProject (line 248) | func (r *GitHubRepo) MainProject() (*Project, error) { method CurrentProject (line 259) | func (r *GitHubRepo) CurrentProject() (project *Project, err error) { method UpstreamProject (line 268) | func (r *GitHubRepo) UpstreamProject() (project *Project, err error) { FILE: github/localrepo_test.go function TestGitHubRepo_remotesForPublish (line 10) | func TestGitHubRepo_remotesForPublish(t *testing.T) { FILE: github/message_builder.go type MessageBuilder (line 8) | type MessageBuilder struct method AddCommentedSection (line 17) | func (b *MessageBuilder) AddCommentedSection(section string) { method Extract (line 21) | func (b *MessageBuilder) Extract() (title, body string, err error) { method Cleanup (line 49) | func (b *MessageBuilder) Cleanup() { function SplitTitleBody (line 55) | func SplitTitleBody(content string) (title string, body string) { FILE: github/message_builder_test.go function TestMessageBuilder_multiline_title (line 9) | func TestMessageBuilder_multiline_title(t *testing.T) { FILE: github/project.go type Project (line 14) | type Project struct method String (line 21) | func (p Project) String() string { method SameAs (line 25) | func (p *Project) SameAs(other *Project) bool { method WebURL (line 31) | func (p *Project) WebURL(name, owner, path string) string { method GitURL (line 65) | func (p *Project) GitURL(name, owner string, allowPush bool) string { function rawHost (line 89) | func rawHost(host string) string { function preferredProtocol (line 99) | func preferredProtocol() string { function NewProjectFromRepo (line 107) | func NewProjectFromRepo(repo *Repository) (p *Project, err error) { function NewProjectFromURL (line 117) | func NewProjectFromURL(url *url.URL) (p *Project, err error) { function NewProject (line 135) | func NewProject(owner, name, host string) *Project { function newProject (line 139) | func newProject(owner, name, host, protocol string) *Project { function SanitizeProjectName (line 189) | func SanitizeProjectName(name string) string { FILE: github/project_test.go function TestSameAs (line 12) | func TestSameAs(t *testing.T) { function TestProject_WebURL (line 59) | func TestProject_WebURL(t *testing.T) { function TestProject_GitURL (line 83) | func TestProject_GitURL(t *testing.T) { function TestProject_GitURLEnterprise (line 108) | func TestProject_GitURLEnterprise(t *testing.T) { function TestProject_NewProjectFromURL (line 133) | func TestProject_NewProjectFromURL(t *testing.T) { FILE: github/remote.go type Remote (line 16) | type Remote struct method String (line 22) | func (remote *Remote) String() string { method Project (line 26) | func (remote *Remote) Project() (*Project, error) { function Remotes (line 34) | func Remotes() (remotes []Remote, err error) { function newRemote (line 83) | func newRemote(name string, urlMap map[string]string) (Remote, error) { FILE: github/remote_test.go function TestGithubRemote_NoPush (line 10) | func TestGithubRemote_NoPush(t *testing.T) { function TestGithubRemote_GitPlusSsh (line 28) | func TestGithubRemote_GitPlusSsh(t *testing.T) { function TestGithubRemote_SshPort (line 46) | func TestGithubRemote_SshPort(t *testing.T) { function TestGithubRemote_ColonSlash (line 64) | func TestGithubRemote_ColonSlash(t *testing.T) { FILE: github/reset_console.go function setConsole (line 12) | func setConsole(cmd *cmd.Cmd) { FILE: github/reset_console_windows.go function setConsole (line 9) | func setConsole(cmd *cmd.Cmd) { FILE: github/template.go constant PullRequestTemplate (line 12) | PullRequestTemplate = "pull_request_template" constant IssueTemplate (line 13) | IssueTemplate = "issue_template" constant githubTemplateDir (line 14) | githubTemplateDir = ".github" constant docsDir (line 15) | docsDir = "docs" function ReadTemplate (line 18) | func ReadTemplate(kind, workdir string) (body string, err error) { type sortedFiles (line 36) | type sortedFiles method Len (line 38) | func (s sortedFiles) Len() int { method Swap (line 41) | func (s sortedFiles) Swap(i, j int) { method Less (line 44) | func (s sortedFiles) Less(i, j int) bool { function getFilePath (line 48) | func getFilePath(dir, pattern string) (found string, err error) { function readContentsFromFile (line 69) | func readContentsFromFile(filename string) (contents string, err error) { FILE: github/template_test.go function TestGithubTemplate_withoutTemplate (line 20) | func TestGithubTemplate_withoutTemplate(t *testing.T) { function TestGithubTemplate_withInvalidTemplate (line 34) | func TestGithubTemplate_withInvalidTemplate(t *testing.T) { function TestGithubTemplate_WithMarkdown (line 50) | func TestGithubTemplate_WithMarkdown(t *testing.T) { function TestGithubTemplate_WithTemplateInHome (line 70) | func TestGithubTemplate_WithTemplateInHome(t *testing.T) { function TestGithubTemplate_WithTemplateInGithubDir (line 86) | func TestGithubTemplate_WithTemplateInGithubDir(t *testing.T) { function TestGithubTemplate_WithTemplateInGithubDirAndMarkdown (line 102) | func TestGithubTemplate_WithTemplateInGithubDirAndMarkdown(t *testing.T) { function TestGithubTemplate_WithTemplateInDocsDir (line 123) | func TestGithubTemplate_WithTemplateInDocsDir(t *testing.T) { function addGithubTemplates (line 139) | func addGithubTemplates(r *fixtures.TestRepo, config map[string]string) { FILE: github/url.go type URL (line 8) | type URL struct method ProjectPath (line 13) | func (url URL) ProjectPath() (projectPath string) { function ParseURL (line 22) | func ParseURL(rawurl string) (*URL, error) { FILE: github/url_test.go function TestParseURL (line 10) | func TestParseURL(t *testing.T) { FILE: internal/assert/assert.go function Equal (line 13) | func Equal(t testing.TB, want, got interface{}, args ...interface{}) { function NotEqual (line 22) | func NotEqual(t testing.TB, want, got interface{}, args ...interface{}) { function T (line 31) | func T(t testing.TB, ok bool, args ...interface{}) { FILE: main.go function main (line 16) | func main() { function handleError (line 23) | func handleError(err error) int { FILE: md2roff-bin/cmd.go function init (line 30) | func init() { type templateData (line 34) | type templateData struct function generateFromFile (line 44) | func generateFromFile(mdFile string) error { function main (line 134) | func main() { FILE: md2roff/renderer.go constant ParserExtensions (line 16) | ParserExtensions = blackfriday.NoIntraEmphasis | function escape (line 34) | func escape(src []byte, re *regexp.Regexp) []byte { function roffText (line 40) | func roffText(src []byte) []byte { type RoffRenderer (line 44) | type RoffRenderer struct method RenderHeader (line 55) | func (r *RoffRenderer) RenderHeader(buf io.Writer, ast *blackfriday.No... method RenderFooter (line 58) | func (r *RoffRenderer) RenderFooter(buf io.Writer, ast *blackfriday.No... method RenderNode (line 61) | func (r *RoffRenderer) RenderNode(buf io.Writer, node *blackfriday.Nod... method renderHeading (line 161) | func (r *RoffRenderer) renderHeading(buf io.Writer, node *blackfriday.... function textContent (line 150) | func textContent(node *blackfriday.Node) []byte { function sanitizeInput (line 196) | func sanitizeInput(src []byte) []byte { type renderOption (line 203) | type renderOption struct function Opt (line 208) | func Opt(buffer io.Writer, renderer blackfriday.Renderer) *renderOption { function Generate (line 212) | func Generate(src []byte, opts ...*renderOption) { FILE: ui/format.go function Expand (line 11) | func Expand(format string, values map[string]string, colorize bool) stri... type expander (line 17) | type expander struct method Expand (line 35) | func (f *expander) Expand(format string) string { method append (line 46) | func (f *expander) append(formattedText ...string) { method crush (line 50) | func (f *expander) crush() string { method expandOneVar (line 68) | func (f *expander) expandOneVar(format string) (expand string, untouch... method expandSpecialChar (line 100) | func (f *expander) expandSpecialChar(firstChar byte, format string) (e... method pad (line 151) | func (f *expander) pad(s string, p *padder) string { type paddingOrientation (line 188) | type paddingOrientation constant padRight (line 191) | padRight paddingOrientation = iota constant padLeft (line 192) | padLeft constant padMiddle (line 193) | padMiddle type truncingMethod (line 196) | type truncingMethod constant truncLeft (line 199) | truncLeft truncingMethod = iota constant truncRight (line 200) | truncRight constant truncMiddle (line 201) | truncMiddle type padder (line 204) | type padder struct method truncate (line 246) | func (p *padder) truncate(s string, numReduce int) string { function padderFromConfig (line 214) | func padderFromConfig(alsoLeft, orientation, asColumn, size, trunc strin... FILE: ui/format_test.go type expanderTest (line 7) | type expanderTest struct function testExpander (line 15) | func testExpander(t *testing.T, tests []expanderTest) { function TestExpand (line 23) | func TestExpand(t *testing.T) { function TestExpand_Modifiers (line 64) | func TestExpand_Modifiers(t *testing.T) { function TestExpand_Padding (line 87) | func TestExpand_Padding(t *testing.T) { function TestExpand_Truncing (line 134) | func TestExpand_Truncing(t *testing.T) { FILE: ui/ui.go type UI (line 12) | type UI interface function Print (line 26) | func Print(a ...interface{}) (n int) { function Printf (line 35) | func Printf(format string, a ...interface{}) (n int) { function Println (line 44) | func Println(a ...interface{}) (n int) { function Errorf (line 53) | func Errorf(format string, a ...interface{}) (n int) { function Errorln (line 62) | func Errorln(a ...interface{}) (n int) { function IsTerminal (line 71) | func IsTerminal(f *os.File) bool { type Console (line 75) | type Console struct method Print (line 80) | func (c Console) Print(a ...interface{}) (n int, err error) { method Printf (line 84) | func (c Console) Printf(format string, a ...interface{}) (n int, err e... method Println (line 88) | func (c Console) Println(a ...interface{}) (n int, err error) { method Errorf (line 92) | func (c Console) Errorf(format string, a ...interface{}) (n int, err e... method Errorln (line 96) | func (c Console) Errorln(a ...interface{}) (n int, err error) { FILE: utils/args_parser.go type argsFlag (line 10) | type argsFlag struct method addValue (line 15) | func (f *argsFlag) addValue(v string) { method lastValue (line 19) | func (f *argsFlag) lastValue() string { method reset (line 27) | func (f *argsFlag) reset() { type ArgsParser (line 33) | type ArgsParser struct method Parse (line 40) | func (p *ArgsParser) Parse(args []string) ([]string, error) { method RegisterValue (line 136) | func (p *ArgsParser) RegisterValue(name string, aliases ...string) { method RegisterBool (line 144) | func (p *ArgsParser) RegisterBool(name string, aliases ...string) { method Value (line 152) | func (p *ArgsParser) Value(name string) string { method AllValues (line 159) | func (p *ArgsParser) AllValues(name string) []string { method Bool (line 166) | func (p *ArgsParser) Bool(name string) bool { method Int (line 173) | func (p *ArgsParser) Int(name string) int { method HasReceived (line 178) | func (p *ArgsParser) HasReceived(name string) bool { function NewArgsParser (line 183) | func NewArgsParser() *ArgsParser { function NewArgsParserWithUsage (line 190) | func NewArgsParserWithUsage(usage string) *ArgsParser { FILE: utils/args_parser_test.go function equal (line 9) | func equal(t *testing.T, expected, got interface{}) { function TestArgsParser (line 16) | func TestArgsParser(t *testing.T) { function TestArgsParser_RepeatedInvocation (line 33) | func TestArgsParser_RepeatedInvocation(t *testing.T) { function TestArgsParser_UnknownFlag (line 57) | func TestArgsParser_UnknownFlag(t *testing.T) { function TestArgsParser_BlankArgs (line 73) | func TestArgsParser_BlankArgs(t *testing.T) { function TestArgsParser_Values (line 81) | func TestArgsParser_Values(t *testing.T) { function TestArgsParser_Bool (line 91) | func TestArgsParser_Bool(t *testing.T) { function TestArgsParser_BoolValue (line 109) | func TestArgsParser_BoolValue(t *testing.T) { function TestArgsParser_BoolValue_multiple (line 121) | func TestArgsParser_BoolValue_multiple(t *testing.T) { function TestArgsParser_Shorthand (line 133) | func TestArgsParser_Shorthand(t *testing.T) { function TestArgsParser_ShorthandEdgeCase (line 147) | func TestArgsParser_ShorthandEdgeCase(t *testing.T) { function TestArgsParser_Dashes (line 162) | func TestArgsParser_Dashes(t *testing.T) { function TestArgsParser_RepeatedArg (line 172) | func TestArgsParser_RepeatedArg(t *testing.T) { function TestArgsParser_Int (line 183) | func TestArgsParser_Int(t *testing.T) { function TestArgsParser_WithUsage (line 197) | func TestArgsParser_WithUsage(t *testing.T) { FILE: utils/color.go function init (line 15) | func init() { type Color (line 21) | type Color struct method Distance (line 48) | func (c *Color) Distance(other *Color) float64 { method Luminance (line 62) | func (c *Color) Luminance() float64 { method ContrastRatio (line 68) | func (c *Color) ContrastRatio(other *Color) float64 { function NewColor (line 27) | func NewColor(hex string) (*Color, error) { function rgbComponentToBoldValue (line 54) | func rgbComponentToBoldValue(component uint8) float64 { function initColorCube (line 84) | func initColorCube() { function ditherTo256ColorCode (line 100) | func ditherTo256ColorCode(color *Color) (code int) { function isTerm24bitColorCapable (line 119) | func isTerm24bitColorCapable() bool { function RgbToTermColorCode (line 134) | func RgbToTermColorCode(color *Color) string { FILE: utils/json.go type state (line 10) | type state struct function stateKey (line 18) | func stateKey(s *state) string { function JSONPath (line 32) | func JSONPath(out io.Writer, src io.Reader, colorize bool) (hasNextPage ... FILE: utils/utils.go function Check (line 19) | func Check(err error) { function ConcatPaths (line 26) | func ConcatPaths(paths ...string) string { function BrowserLauncher (line 30) | func BrowserLauncher() ([]string, error) { function searchBrowserLauncher (line 45) | func searchBrowserLauncher(goos string) (browser string) { function CommandPath (line 66) | func CommandPath(cmd string) (string, error) { function TimeAgo (line 84) | func TimeAgo(t time.Time) string { FILE: utils/utils_test.go function TestSearchBrowserLauncher (line 9) | func TestSearchBrowserLauncher(t *testing.T) { function TestConcatPaths (line 17) | func TestConcatPaths(t *testing.T) { function TestTimeAgo (line 21) | func TestTimeAgo(t *testing.T) {