MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

↓ 2 callersMethodhandleAdditionalPermissions
(ctx context.Context, prompter SurveyPrompter, createParams *api.CreateCodespaceParams, allowPermissionsURL st
pkg/cmd/codespace/create.go:354
↓ 2 callersMethodhandleRequestBodyError
handleRequestBodyError is used to handle error when the twirp server cannot read request
internal/barista/observability/telemetry.twirp.go:271
↓ 2 callersFunctionhasActiveToken
(hostname string, expectedToken string)
pkg/cmd/auth/logout/logout_test.go:564
↓ 2 callersMethodhasDeferredEdits
hasDeferredEdits reports whether the run asks for an edit that the deferred update path applies, which Editable.Dirty() cannot see. Setting --type is
pkg/cmd/issue/edit/edit.go:283
↓ 2 callersFunctionhasHiddenSegment
hasHiddenSegment reports whether any path component starts with a dot.
internal/skills/discovery/discovery.go:1100
↓ 2 callersFunctionhasNoToken
(hostname string)
pkg/cmd/auth/logout/logout_test.go:555
↓ 2 callersFunctionhasNonHelpFlags
(fs *pflag.FlagSet)
internal/docs/markdown.go:61
↓ 2 callersFunctionhasScript
(httpClient *http.Client, repo ghrepo.Interface)
pkg/cmd/extension/http.go:44
↓ 2 callersFunctionhasTrailingPathSeparator
(path string)
internal/safepaths/root.go:482
↓ 2 callersMethodhasUnsavedChanges
hasUnsavedChanges returns whether the environment has unsaved changes.
pkg/cmd/codespace/common.go:226
↓ 2 callersFunctionhelperRun
(opts *CredentialOptions)
pkg/cmd/auth/gitcredential/helper.go:60
↓ 2 callersFunctionhttpRequest
(client *http.Client, hostname string, apiHost string, method string, p string, params any, headers []string)
pkg/cmd/api/http.go:16
↓ 2 callersFunctionhumanFileSize
(s int64)
pkg/cmd/cache/list/list.go:145
↓ 2 callersFunctionhumanFileSize
(s int64)
pkg/cmd/release/view/view.go:202
↓ 2 callersFunctionimportRun
(opts *ImportOptions)
pkg/cmd/alias/imports/import.go:94
↓ 2 callersFunctioninWindow
(at: number)
evals/src/suites/events/grading/observations.ts:142
↓ 2 callersFunctioninstallCommandArgs
(skill skillResult, agent, scope string)
pkg/cmd/skills/search/search.go:586
↓ 2 callersFunctioninstallProgress
(io *iostreams.IOStreams, total int)
pkg/cmd/skills/install/install.go:1113
↓ 2 callersFunctioninstallSkill
(opts *Options, skill discovery.Skill, baseDir string)
internal/skills/installer/installer.go:250
↓ 2 callersFunctioninterrupt
(signal: string)
evals/src/smoke.ts:84
↓ 2 callersFunctionintroArgs
(defs ast.ArgumentDefinitionList, args map[string]any)
script/ghmock/introspection.go:344
↓ 2 callersMethodintroValue
introValue turns a resolved value into JSON, following the selection.
script/ghmock/introspection.go:110
↓ 2 callersMethodintrospectionRoot
(f *ast.Field)
script/ghmock/introspection.go:26
↓ 2 callersMethodisA
(concrete *ast.Definition, name string)
script/ghmock/graphqlcheck.go:294
↓ 2 callersFunctionisArtifactURL
isArtifactURL reports whether arg is meant as an artifact URL: an http(s) URL whose path goes on past its issue number. parseArtifactURL decides wheth
pkg/cmd/issue/artifact/shared/shared.go:140
↓ 2 callersFunctionisBinExtension
(client *http.Client, repo ghrepo.Interface)
pkg/cmd/extension/manager.go:749
↓ 2 callersFunctionisCommit
(arg string)
pkg/cmd/browse/browse.go:353
↓ 2 callersFunctionisCygwinTerminal
(fd uintptr)
pkg/iostreams/iostreams.go:611
↓ 2 callersFunctionisEqualSet
(a, b []string)
pkg/cmd/pr/shared/finder.go:673
↓ 2 callersMethodisExecutable
isExecutable reports whether the entry is a regular file with an executable bit set.
pkg/cmd/repo/read-dir/http.go:53
↓ 2 callersFunctionisGitPathFile
(path string)
script/ghmock/gitfixture.go:198
↓ 2 callersFunctionisHTTPRedirect
(status int)
internal/barista/observability/telemetry.twirp.go:825
↓ 2 callersFunctionisIncluded
(value string, opts []string)
pkg/cmdutil/flags.go:175
↓ 2 callersFunctionisJupyterServerURLValid
Ensures that the Jupyter server URL is valid and points to a loopback http(s) URL
internal/codespaces/rpc/invoker.go:321
↓ 2 callersFunctionisLabelAlreadyExistsError
(err api.HTTPError)
pkg/cmd/label/create.go:191
↓ 2 callersFunctionisNotFound
isNotFound reports whether err is an API error carrying a 404 status. The release lookups treat a missing release as a sentinel rather than an error,
pkg/cmd/release/shared/fetch.go:296
↓ 2 callersFunctionisNotFound
isNotFound returns true if the error is an HTTP 404 response.
internal/skills/discovery/discovery.go:327
↓ 2 callersFunctionisNumber
(arg string)
pkg/cmd/browse/browse.go:345
↓ 2 callersMethodisREST
()
script/ghmock/schemacmd.go:26
↓ 2 callersFunctionisRelativePath
isRelativePath reports whether path is relative to a directory, and so can be placed inside the one the markdown was read from. filepath.IsAbs is not
internal/attachments/references.go:396
↓ 2 callersFunctionisRetryable
isRetryable reports whether a request may succeed later. Network and server errors are retried; anything else, such as a missing subscription or a req
pkg/cmd/event/listen/listen.go:519
↓ 2 callersFunctionisRootCmd
(command *cobra.Command)
pkg/cmd/root/help.go:88
↓ 2 callersFunctionisSameRef
isSameRef checks if the head and base refs point to the same ref in the same repository. For cross-repository PRs (e.g., from a fork), the qualified h
pkg/cmd/pr/create/create.go:184
↓ 2 callersFunctionisSingleImage
isSingleImage reports whether src is one image pointing at wantURL and nothing besides. Asset validation uses it to confirm that escaped alt text cann
internal/attachments/references.go:834
↓ 2 callersFunctionisSupportedProtocol
(u string)
git/url.go:12
↓ 2 callersFunctionisTerminal
(f *os.File)
pkg/iostreams/iostreams.go:607
↓ 2 callersFunctionisWindowsReservedFilename
(filename string)
pkg/cmd/release/download/download.go:514
↓ 2 callersFunctionissueAssigneeList
(issue api.Issue)
pkg/cmd/issue/view/view.go:403
↓ 2 callersFunctionissueLabelList
(issue *api.Issue, cs *iostreams.ColorScheme)
pkg/cmd/issue/view/view.go:454
↓ 2 callersFunctionissueProjectList
(issue api.Issue)
pkg/cmd/issue/view/view.go:420
↓ 2 callersFunctionissueResponseNoIssues2Fields
issueResponseNoIssues2Fields returns a GraphQL response for an issue with no Issues 2.0 fields.
pkg/cmd/issue/view/view_test.go:700
↓ 2 callersMethodjobsBasePathV1
()
pkg/cmd/agent-task/capi/job.go:55
↓ 2 callersFunctionjoinLimited
joinLimited joins items, showing at most limit of them.
script/ghmock/report.go:399
↓ 2 callersFunctionjoinLinkedIssues
(issues []api.LinkedIssue, withTitle bool)
pkg/cmd/issue/view/view.go:380
↓ 2 callersFunctionjournalResource
(journal: Journal, journalPath: string, kind: string, id: string)
evals/src/core/sandbox.ts:49
↓ 2 callersFunctionjsonOutput
(call: GhCall)
evals/src/suites/events/grading/observations.ts:15
↓ 2 callersFunctionkeyUpload
(httpClient *http.Client, hostname string, u safeurl.SafeURL, payload map[string]string)
pkg/cmd/ssh-key/add/http.go:106
↓ 2 callersFunctionkeyringServiceName
(hostname string)
internal/config/migration/multi_account.go:229
↓ 2 callersFunctionkindLabel
(k ast.DefinitionKind)
script/ghmock/schemacmd.go:206
↓ 2 callersFunctionlabelList
(labels []client.DiscussionLabel, cs *iostreams.ColorScheme)
pkg/cmd/discussion/view/view.go:609
↓ 2 callersMethodlatestRequests
(entries []loggedRequest)
script/ghmock/log.go:73
↓ 2 callersMethodleaf
leaf returns a certificate for host signed by the authority, making it the first time it's asked for.
script/ghmock/tls.go:75
↓ 2 callersFunctionlistHeader
listHeader describes the listed subscriptions. The API reports no total, so a full page may not be all of them.
pkg/cmd/event/subscription/list/list.go:118
↓ 2 callersFunctionlistNames
listNames joins names for messages, shortening long lists.
script/ghmock/checker.go:261
↓ 2 callersFunctionlistOrgs
(httpClient *http.Client, hostname string, limit int)
pkg/cmd/org/list/http.go:19
↓ 2 callersFunctionlistRepos
(client *http.Client, hostname string, limit int, owner string, filter FilterOptions)
pkg/cmd/repo/list/http.go:32
↓ 2 callersFunctionlistRulesets
(httpClient *http.Client, query string, variables map[string]any, limit int, host string)
pkg/cmd/ruleset/shared/http.go:49
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/cache/list/list.go:90
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/discussion/list/list.go:189
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/ruleset/list/list.go:95
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/release/list/list.go:67
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/agent-task/list/list.go:63
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/gpg-key/list/list.go:45
↓ 2 callersFunctionlistRun
(opts *listOptions)
pkg/cmd/label/list.go:84
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/org/list/list.go:59
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/issue/artifact/list/list.go:87
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/gist/list/list.go:112
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/repo/license/list/list.go:50
↓ 2 callersFunctionlistRun
(opts *listOptions)
pkg/cmd/repo/autolink/list/list.go:71
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/repo/gitignore/list/list.go:44
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/repo/deploy-key/list/list.go:55
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/skills/list/list.go:169
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/ssh-key/list/list.go:49
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/config/list/list.go:45
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/run/list/list.go:104
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/pr/list/list.go:145
↓ 2 callersFunctionlistRun
(opts *ListOptions)
pkg/cmd/workflow/list/list.go:69
↓ 2 callersMethodlistView
()
pkg/cmd/extension/browse/model.go:518
↓ 2 callersFunctionload
()
evals/src/replay.ts:30
↓ 2 callersFunctionloadBundleFromJSONFile
(path string)
pkg/cmd/attestation/verification/attestation.go:48
↓ 2 callersFunctionloadGraphQLSchema
(data []byte, name string)
script/ghmock/graphqlcheck.go:19
↓ 2 callersFunctionloadRESTIndex
(data []byte)
script/ghmock/restcheck.go:42
↓ 2 callersFunctionlocalGit
(dir string, env []string, args ...string)
script/ghmock/gitcmd.go:348
↓ 2 callersFunctionlockLockable
lockLockable will lock an issue or pull request
pkg/cmd/issue/lock/lock.go:308
↓ 2 callersFunctionlogin
login returns a user's login, or an empty string for a null user.
pkg/cmd/issue/artifact/view/view.go:329
↓ 2 callersMethodlogin
(hostname, username, token, gitProtocol string, secureStorage bool)
internal/config/config.go:517
↓ 2 callersFunctionloginRefreshable
(t *testing.T, c gh.Config, hostname, username, accessToken, refreshToken string, secureStorage bool)
pkg/cmd/auth/token/token_test.go:505
↓ 2 callersFunctionloginRefreshableWithExpiry
(t *testing.T, c gh.Config, hostname, username, accessToken, refreshToken string, secureStorage bool, expiresA
pkg/cmd/auth/token/token_test.go:510
↓ 2 callersFunctionloginRefreshableWithExpiry
(t *testing.T, authCfg *AuthConfig, hostname, username, access, refresh string, expiresAt time.Time, secure bo
internal/config/refreshable_test.go:860
↓ 2 callersFunctionlookup
(vars map[string]string)
internal/agents/detect_test.go:10
← previousnext →1,901–2,000 of 7,487, ranked by callers