MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

↓ 2 callersFunctioneditRun
(tag string, opts *EditOptions)
pkg/cmd/release/edit/edit.go:92
↓ 2 callersFunctioneditRun
(opts *editOptions)
pkg/cmd/label/edit.go:75
↓ 2 callersFunctioneditRun
(opts *EditOptions)
pkg/cmd/issue/artifact/edit/edit.go:138
↓ 2 callersFunctioneditRun
(opts *EditOptions)
pkg/cmd/gist/edit/edit.go:118
↓ 2 callersFunctioneliminateDuplicates
eliminateDuplicates filters a set of checks to only the most recent ones if the set includes repeated runs
pkg/cmd/pr/checks/aggregate.go:96
↓ 2 callersFunctionensurePanicResponses
for github.com/pkg/errors ensurePanicResponses makes sure that rpc methods causing a panic still result in a Twirp Internal error response (status 500
internal/barista/observability/telemetry.twirp.go:847
↓ 2 callersFunctionensurePushed
ensurePushed checks whether the current branch has unpushed commits and pushes them automatically, consistent with how gh pr create behaves.
pkg/cmd/skills/publish/publish.go:636
↓ 2 callersFunctionentryTypeFromMode
entryTypeFromMode normalizes a git object mode into the entry type names the command reports: dir, file, symlink, or submodule. Modes with an unrecogn
pkg/cmd/repo/read-dir/http.go:226
↓ 2 callersFunctionenumPlaceholder
(values []string)
script/ghmock/gqlscaffold.go:28
↓ 2 callersFunctionenumValueNames
(def *ast.Definition)
script/ghmock/graphqlcheck.go:461
↓ 2 callersFunctionerrorFromResponse
errorFromResponse builds a twirp.Error from a non-200 HTTP response. If the response has a valid serialized Twirp error, then it's returned. If not, t
internal/barista/observability/telemetry.twirp.go:748
↓ 2 callersFunctionescapeAlt
(s string)
internal/attachments/userasset.go:198
↓ 2 callersFunctionevidenceLoader
()
evals/src/suites/events/grading/evidence.ts:56
↓ 2 callersFunctionexecutablePath
Executable is the path to the currently invoked binary
internal/ghcmd/cmd.go:428
↓ 2 callersMethodexecute
(stimulus: Stimulus, options: ExecutorOptions)
evals/src/core/executor.ts:90
↓ 2 callersFunctionexecuteLocalRepoSync
(srcRepo ghrepo.Interface, remote string, opts *SyncOptions)
pkg/cmd/repo/sync/sync.go:221
↓ 2 callersFunctionexecuteSearch
executeSearch performs a single GitHub Code Search API call.
pkg/cmd/skills/search/search.go:729
↓ 2 callersFunctionexpandAlias
ExpandAlias processes argv to see if it should be rewritten according to a user's aliases.
pkg/cmd/root/alias.go:81
↓ 2 callersFunctionexpandShellAlias
ExpandShellAlias processes argv to see if it should be rewritten according to a user's aliases.
pkg/cmd/root/alias.go:107
↓ 2 callersFunctionexpandToGitHubURL
(tenant, ownerOrRepo string)
pkg/cmd/attestation/verify/policy.go:54
↓ 2 callersFunctionexplainMovedRepo
explainMovedRepo reports the redirect that GitHub returns for a renamed or transferred repository. Requests here never follow it, so a moved repositor
pkg/cmd/repo/delete/delete.go:204
↓ 2 callersFunctionexplainer
()
pkg/cmd/repo/setdefault/setdefault.go:22
↓ 2 callersFunctionexportReadme
()
script/ghmock/export.go:198
↓ 2 callersFunctionextractSkillInfo
extractSkillInfo derives the skill name and namespace from a SKILL.md path, but only if the path matches a known skill convention. Returns empty strin
pkg/cmd/skills/search/search.go:872
↓ 2 callersFunctionextractTarGz
extractTarGz reads a TAR.GZ archive from r and extracts its contents into destDir. It returns an error if the archive cannot be read, or if any file o
pkg/cmd/copilot/copilot.go:413
↓ 2 callersFunctionextractTeamSlugs
extractTeamSlugs extracts just the slug portion from team identifiers. Team identifiers can be in "org/slug" format; this returns just the slug.
api/queries_pr_review.go:691
↓ 2 callersFunctionextractTestArchive
(t *testing.T, path, destination string)
script/ghmock/export_test.go:334
↓ 2 callersFunctionextractZip
extractZip reads a ZIP archive at path and extracts its contents into destDir. It returns an error if the archive cannot be read, or if any file or di
pkg/cmd/copilot/copilot.go:378
↓ 2 callersFunctionfetchCommitSHA
fetchCommitSHA finds full commit SHA from a target ref in a repo
pkg/cmd/extension/http.go:169
↓ 2 callersFunctionfetchDescription
fetchDescription fetches and parses the frontmatter description for a skill.
internal/skills/discovery/discovery.go:648
↓ 2 callersFunctionfetchExpectedChecksum
fetchExpectedChecksum downloads the SHA256SUMS.txt file and returns the expected checksum for the given archive name.
pkg/cmd/copilot/copilot.go:342
↓ 2 callersFunctionfetchReleaseFromTag
fetchReleaseFromTag finds release by tag name for a repository
pkg/cmd/extension/http.go:141
↓ 2 callersFunctionfieldIdAndProjectIdPresence
(config editItemConfig)
pkg/cmd/project/item-edit/item_edit.go:499
↓ 2 callersFunctionfileContentResponseBytes
(name string, content []byte)
pkg/cmd/repo/read-file/read_file_test.go:1039
↓ 2 callersFunctionfileURL
(filePath string)
git/client_test.go:1612
↓ 2 callersFunctionfile_jupyter_jupyter_server_host_service_v1_proto_rawDescGZIP
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:171
↓ 2 callersFunctionfile_ssh_ssh_server_host_service_v1_proto_rawDescGZIP
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:181
↓ 2 callersMethodfill
(ref *openapi3.SchemaRef, v any, name string, depth int)
script/ghmock/restscaffold.go:125
↓ 2 callersFunctionfillCredentials
(t *testing.T)
pkg/cmd/auth/shared/gitcredentials/updater_test.go:28
↓ 2 callersFunctionfilterAcceptanceScripts
(candidates []acceptanceScript, filtered, hasUserCapability bool)
acceptance/acceptance_test.go:723
↓ 2 callersFunctionfilterByRelevance
filterByRelevance removes results that are not meaningfully related to the query. A result is kept if the query term appears in the skill name, the na
pkg/cmd/skills/search/search.go:649
↓ 2 callersFunctionfilterCodespacesByRepoOwner
filterCodespacesByRepoOwner filters a list of codespaces by the owner of the repository.
pkg/cmd/codespace/common.go:262
↓ 2 callersFunctionfilterDiff
filterDiff reads a unified diff and returns a new reader with file entries matching any of the exclude patterns removed.
pkg/cmd/pr/diff/diff.go:363
↓ 2 callersFunctionfilterHiddenDirSkills
filterHiddenDirSkills applies the --allow-hidden-dirs flag logic. When the flag is set, all skills are returned with a warning. Otherwise, hidden-dir
pkg/cmd/skills/install/install.go:1259
↓ 2 callersFunctionfilterHiddenDirSkills
filterHiddenDirSkills applies the --allow-hidden-dirs flag logic. When the flag is set, all skills are returned with a warning. Otherwise, hidden-dir
pkg/cmd/skills/preview/preview.go:423
↓ 2 callersFunctionfindEndCursor
(r io.Reader)
pkg/cmd/api/pagination.go:26
↓ 2 callersFunctionfindInputs
(yamlContent []byte)
pkg/cmd/workflow/run/run.go:405
↓ 2 callersMethodfindKeygen
()
pkg/ssh/ssh_keys.go:102
↓ 2 callersFunctionfindNextPage
(resp *http.Response)
pkg/cmd/api/pagination.go:17
↓ 2 callersFunctionfirstLine
(text string)
script/ghmock/schemacmd.go:608
↓ 2 callersMethodfooterView
()
pkg/cmd/extension/browse/model.go:454
↓ 2 callersMethodforJob
(jobID int64)
pkg/cmd/run/view/logs.go:171
↓ 2 callersMethodforStep
(jobID int64, stepNumber int)
pkg/cmd/run/view/logs.go:176
↓ 2 callersFunctionforkRun
(opts *ForkOptions)
pkg/cmd/repo/fork/fork.go:160
↓ 2 callersFunctionformatAgentHosts
(agentHostIDs []string)
pkg/cmd/skills/list/list.go:532
↓ 2 callersFunctionformatCodespacesForSelect
(codespaces []*api.Codespace, includeOwner bool)
pkg/cmd/codespace/common.go:129
↓ 2 callersFunctionformatKeywords
(ks []string)
pkg/search/query.go:340
↓ 2 callersFunctionformatMatch
(t string, matches []search.Match, io *iostreams.IOStreams)
pkg/cmd/search/code/code.go:192
↓ 2 callersFunctionformatNameForVSCSTarget
(name, vscsTarget string)
pkg/cmd/codespace/list.go:193
↓ 2 callersFunctionformatQualifiers
formatQualifiers renders qualifiers into a plain query. The formatter is a custom formatting function that can be used to modify the output of each q
pkg/search/query.go:298
↓ 2 callersFunctionformatRemoteURL
(hostname string, gistID string, protocol string)
pkg/cmd/gist/clone/clone.go:96
↓ 2 callersFunctionformatRequest
(e loggedRequest)
script/ghmock/report.go:222
↓ 2 callersFunctionformatSize
(n int64)
script/ghmock/schemacmd.go:717
↓ 2 callersMethodgenerate
generate makes a placeholder value for a schema. Objects get only their required properties. A required property with no schema is null: GitHub's desc
script/ghmock/restscaffold.go:225
↓ 2 callersFunctiongenerateAutomaticSSHKeys
(sshContext ssh.Context)
pkg/cmd/codespace/ssh.go:409
↓ 2 callersFunctiongenerateCertificates
(gatewayHost string)
script/api-host-gateway/gateway/main.go:223
↓ 2 callersFunctiongenerateCompareURL
(ctx CreateContext, state shared.IssueMetadataState, projectsV1Support gh.ProjectsV1Support)
pkg/cmd/pr/create/create.go:1363
↓ 2 callersFunctiongenerateSSHPublicKey
(comment string)
acceptance/acceptance_test.go:1224
↓ 2 callersFunctiongenerateScopesSuggestion
(statusCode int, endpointNeedsScopes, tokenHasScopes, hostname string)
api/client.go:361
↓ 2 callersMethodgetAttestations
(params FetchParams)
pkg/cmd/attestation/api/client.go:139
↓ 2 callersFunctiongetCallbackURI
(oauthHost string)
internal/authflow/flow.go:125
↓ 2 callersFunctiongetCurrentUsername
(username string, hostname string, apiClient *api.Client)
pkg/cmd/pr/status/http.go:189
↓ 2 callersFunctiongetDefaultValueDisplayString
(f *pflag.Flag)
internal/docs/markdown.go:82
↓ 2 callersFunctiongetExpansion
(opts *SetOptions)
pkg/cmd/alias/set/set.go:165
↓ 2 callersFunctiongetExtensions
(opts ExtBrowseOpts)
pkg/cmd/extension/browse/browse.go:62
↓ 2 callersFunctiongetFileName
(filePath string)
pkg/cmd/release/verify-asset/verify_asset.go:210
↓ 2 callersFunctiongetFilesToAdd
(file string, content []byte)
pkg/cmd/gist/edit/edit.go:420
↓ 2 callersFunctiongetGPGKeys
(httpClient *http.Client, host string)
pkg/cmd/gpg-key/delete/http.go:26
↓ 2 callersFunctiongetHostname
getHostname returns the hostname the request is addressed to, preferring an explicit Host override and falling back to the URL host. Any port in the h
api/http_client.go:285
↓ 2 callersFunctiongetOrgAndRepo
(tenant, repoURL string)
pkg/cmd/attestation/inspect/bundle.go:57
↓ 2 callersFunctiongetRemotes
(opts *CreateOptions)
pkg/cmd/pr/create/create.go:1083
↓ 2 callersFunctiongetRepoVisibilityOptions
(owner string)
pkg/cmd/repo/create/create.go:918
↓ 2 callersFunctiongetRun
(opts *GetOptions)
pkg/cmd/variable/get/get.go:73
↓ 2 callersFunctiongetRun
(opts *GetOptions)
pkg/cmd/config/get/get.go:55
↓ 2 callersFunctiongetSSHKey
(httpClient *http.Client, host string, keyID string)
pkg/cmd/ssh-key/delete/http.go:25
↓ 2 callersFunctiongetSecretsFromOptions
(opts *SetOptions)
pkg/cmd/secret/set/set.go:376
↓ 2 callersFunctiongetTags
(httpClient *http.Client, repo ghrepo.Interface, limit int)
pkg/cmd/release/create/http.go:60
↓ 2 callersFunctiongetTrustedRoot
(makeTUF tufClientInstantiator, opts *Options, hc *http.Client)
pkg/cmd/attestation/trustedroot/trustedroot.go:125
↓ 2 callersFunctiongetUserKeys
(httpClient *http.Client, hostname string, u safeurl.SafeURL)
pkg/cmd/ssh-key/shared/user_keys.go:76
↓ 2 callersFunctiongetVariablesFromOptions
(opts *SetOptions)
pkg/cmd/variable/set/set.go:229
↓ 2 callersFunctiongetViewer
(httpClient *http.Client, hostname, token string)
internal/authflow/flow.go:154
↓ 2 callersFunctiongetWorkflowByID
ID can be either a numeric database ID or the workflow file name
pkg/cmd/workflow/shared/shared.go:161
↓ 2 callersFunctiongetWorkflowsByName
(client *api.Client, repo ghrepo.Interface, name string, states []WorkflowState)
pkg/cmd/workflow/shared/shared.go:175
↓ 2 callersFunctiongetZipLogMap
getZipLogMap populates a logs struct with appropriate log fetchers based on the provided zip file and list of jobs. The structure of zip file is expe
pkg/cmd/run/view/logs.go:219
↓ 2 callersFunctiongitDeadlineEnvironment
(ctx context.Context, env []string)
script/ghmock/gitcmd.go:341
↓ 2 callersFunctiongitRequests
(scratch string, requests []loggedRequest)
script/ghmock/gittransport.go:247
↓ 2 callersFunctiongitTagInfo
(client *git.Client, tagName string)
pkg/cmd/release/create/create.go:573
↓ 2 callersFunctiongraphQLErrorText
(err error)
script/ghmock/graphqlcheck.go:122
↓ 2 callersFunctiongroupGraphQLVariables
(params map[string]any)
pkg/cmd/api/http.go:95
↓ 2 callersFunctiongroupWithOR
(qualifier string, vs []string)
pkg/search/query.go:227
← previousnext →1,801–1,900 of 7,487, ranked by callers