MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

↓ 1 callersFunctionfilteredOutputAt
* Output reshaped by --jq or --template cannot be matched to an event, so any output counts when the listener was * bound to the fixture PR and the e
evals/src/suites/events/grading/observations.ts:121
↓ 1 callersFunctionfindByNumber
(httpClient *http.Client, repo ghrepo.Interface, number int, fields []string)
pkg/cmd/pr/shared/finder.go:356
↓ 1 callersFunctionfindCommand
(cmd *cobra.Command, name string)
pkg/cmd/root/help.go:246
↓ 1 callersFunctionfindExistingLinkedBranchName
(branches []api.LinkedBranch, branchRepo ghrepo.Interface, branchName string)
pkg/cmd/issue/develop/develop.go:290
↓ 1 callersFunctionfindForRefs
(httpClient *http.Client, prRefs PRFindRefs, stateFilters, fields []string)
pkg/cmd/pr/shared/finder.go:386
↓ 1 callersFunctionfindGitHubMetadataKeys
findGitHubMetadataKeys returns metadata keys with the "github-" prefix.
pkg/cmd/skills/publish/publish.go:1125
↓ 1 callersFunctionfirstConfiguredKeyPair
firstConfiguredKeyPair reads the effective configuration for a localhost connection and returns the first valid key pair which would be tried for auth
pkg/cmd/codespace/ssh.go:472
↓ 1 callersFunctionfixture
()
evals/src/harness.test.ts:96
↓ 1 callersFunctionfixtureAttachmentArgs
fixtureAttachmentArgs is the set of attached files testdata/references_input.md is written against. Every asset URL is recognisable on sight so the ex
internal/attachments/references_fixture_test.go:17
↓ 1 callersFunctionfloatToString
(f float64, p uint8)
pkg/cmd/cache/list/list.go:164
↓ 1 callersFunctionfloatToString
render float to fixed precision using truncation instead of rounding
pkg/cmd/release/view/view.go:222
↓ 1 callersFunctionflockRefreshLock
flockRefreshLock acquires the cross-process refresh lock with flock, creating the lock file's directory first. It is the production implementation use
internal/config/refreshable.go:56
↓ 1 callersFunctionfmtVisibility
(s shared.Variable)
pkg/cmd/variable/list/list.go:180
↓ 1 callersFunctionfmtVisibility
(s Secret)
pkg/cmd/secret/list/list.go:235
↓ 1 callersFunctionfollowLogs
(opts *CreateOptions, capiClient capi.CapiClient, sessionID string)
pkg/cmd/agent-task/create/create.go:263
↓ 1 callersFunctionformatAuthentic
(authentic bool, certIssuer string)
pkg/cmd/attestation/inspect/inspect.go:293
↓ 1 callersFunctionformatComment
(io *iostreams.IOStreams, comment Comment, newest bool)
pkg/cmd/pr/shared/comments.go:89
↓ 1 callersFunctionformatCommentStatus
(cs *iostreams.ColorScheme, status string)
pkg/cmd/pr/shared/comments.go:173
↓ 1 callersFunctionformatGitStatus
(codespace codespace)
pkg/cmd/codespace/view.go:114
↓ 1 callersFunctionformatGraphQLError
formatGraphQLError turns a parser or validator error into a short line.
script/ghmock/checker.go:224
↓ 1 callersFunctionformatHiddenComment
(comment Comment)
pkg/cmd/pr/shared/comments.go:197
↓ 1 callersFunctionformatLinkedIssueListWithTitle
formatLinkedIssueListWithTitle formats a comma-separated list of linked issue references with each title appended after the reference.
pkg/cmd/issue/view/view.go:376
↓ 1 callersFunctionformatLinkedIssueRefs
formatLinkedIssueRefs formats a comma-separated list of linked issue references without titles.
pkg/cmd/issue/view/view.go:370
↓ 1 callersFunctionformatNwo
(longUrl string)
pkg/cmd/attestation/inspect/inspect.go:284
↓ 1 callersFunctionformatPayloads
(payloads []requestPayload)
script/ghmock/report.go:467
↓ 1 callersFunctionformatRawComment
(comment Comment)
pkg/cmd/pr/shared/comments.go:38
↓ 1 callersFunctionformatRawCommentStatus
(status string)
pkg/cmd/pr/shared/comments.go:186
↓ 1 callersFunctionformatReactionGroup
(rg api.ReactionGroup)
pkg/cmd/pr/shared/reaction_groups.go:22
↓ 1 callersFunctionformatRetentionPeriodDays
(codespace codespace)
pkg/cmd/codespace/view.go:124
↓ 1 callersFunctionformatSpecialQualifiers
(qualifier string, vs []string, specialGroupsToOR [][]string)
pkg/search/query.go:188
↓ 1 callersFunctionformattedReviewerState
formattedReviewerState formats a reviewerState with state color
pkg/cmd/pr/view/view.go:333
↓ 1 callersMethodfragmentType
fragmentType finds the first fragment, in query order, on a possible type.
script/ghmock/gqlscaffold.go:283
↓ 1 callersFunctionfromAPISession
(s session)
pkg/cmd/agent-task/capi/sessions.go:556
↓ 1 callersMethodfromEnv
()
acceptance/acceptance_test.go:1307
↓ 1 callersFunctiongenMan
(cmd *cobra.Command, header *GenManHeader)
internal/docs/man.go:210
↓ 1 callersFunctiongenManTreeFromOpts
genManTreeFromOpts generates a man page for the command and all descendants. The pages are written to the opts.Path directory.
internal/docs/man.go:41
↓ 1 callersMethodgenerate
generate makes a placeholder value of a type. parent is the type of the object that holds the field.
script/ghmock/gqlscaffold.go:164
↓ 1 callersFunctiongenerateBranchURL
(r ghrepo.Interface, branch string)
pkg/cmd/repo/view/view.go:227
↓ 1 callersFunctiongenerateChangelog
(commits []logEntry)
pkg/cmd/release/create/create.go:654
↓ 1 callersFunctiongenerateCodespaceList
(start int, end int)
internal/codespaces/api/api_test.go:20
↓ 1 callersFunctiongenerateMissingBinaryIssueBody
(currentPlatform string)
pkg/cmd/extension/manager.go:391
↓ 1 callersFunctiongenerateMissingBinaryIssueCreateCommand
(repoOwner string, repoName string, currentPlatform string)
pkg/cmd/extension/manager.go:386
↓ 1 callersFunctiongeneratePreviewURL
(apiClient *api.Client, baseRepo ghrepo.Interface, tb prShared.IssueMetadataState, projectsV1Support gh.Projec
pkg/cmd/issue/create/create.go:495
↓ 1 callersFunctiongeneratePullRequestNodeID
generatePullRequestNodeID converts an int64 databaseID and repoID to a GraphQL Node ID format with the "PR_" prefix for pull requests
pkg/cmd/agent-task/capi/sessions.go:548
↓ 1 callersFunctiongenerateUserNodeID
(userID int64)
pkg/cmd/agent-task/capi/sessions.go:552
↓ 1 callersFunctiongenerateWorkflows
generateWorkflows returns a slice of workflows with the given count, labeled with the page number of testing pagination. The page number is used to ge
pkg/cmd/workflow/shared/shared_test.go:412
↓ 1 callersFunctiongetAttestationDetail
(tenant string, attr api.Attestation)
pkg/cmd/attestation/inspect/bundle.go:77
↓ 1 callersFunctiongetAttestationsFor
(t *testing.T, bundlePath string)
pkg/cmd/attestation/verification/sigstore_integration_test.go:190
↓ 1 callersFunctiongetAttestationsFor
(t *testing.T, bundlePath string)
pkg/cmd/attestation/verify/attestation_integration_test.go:19
↓ 1 callersFunctiongetBundleIssuer
(b *bundle.Bundle)
pkg/cmd/attestation/verification/sigstore.go:188
↓ 1 callersFunctiongetColor
(x int)
pkg/cmd/repo/credits/credits.go:284
↓ 1 callersFunctiongetCustomHTTPReqHeaders
getCustomHTTPReqHeaders retrieves a copy of any headers that are set in a context through the twirp.WithHTTPRequestHeaders function. If there are no h
internal/barista/observability/telemetry.twirp.go:681
↓ 1 callersFunctiongetDevContainer
(ctx context.Context, apiClient apiClient, codespace *api.Codespace)
pkg/cmd/codespace/ports.go:188
↓ 1 callersFunctiongetEnvPubKey
(client *api.Client, repo ghrepo.Interface, envName string)
pkg/cmd/secret/set/http.go:67
↓ 1 callersFunctiongetEnvSecrets
(client *http.Client, repo ghrepo.Interface, envName string)
pkg/cmd/secret/list/list.go:302
↓ 1 callersFunctiongetEnvVariables
(client *http.Client, repo ghrepo.Interface, envName string)
pkg/cmd/variable/list/list.go:204
↓ 1 callersFunctiongetFilesToRemove
(gist gistToUpdate, filename string)
pkg/cmd/gist/edit/edit.go:438
↓ 1 callersFunctiongetLatestReleaseInfo
(ctx context.Context, client *http.Client, repo string)
internal/update/update.go:116
↓ 1 callersFunctiongetLog
(httpClient *http.Client, hostname string, logPath safeurl.SafeURL)
pkg/cmd/run/view/view.go:487
↓ 1 callersFunctiongetLowestCertInChain
(ca *root.FulcioCertificateAuthority)
pkg/cmd/attestation/verification/sigstore.go:235
↓ 1 callersFunctiongetMachineName
getMachineName prompts the user to select the machine type, or validates the machine if non-empty.
pkg/cmd/codespace/create.go:520
↓ 1 callersFunctiongetMergeText
(client *http.Client, repo ghrepo.Interface, prID string, mergeMethod PullRequestMergeMethod)
pkg/cmd/pr/merge/http.go:121
↓ 1 callersFunctiongetNonRefreshableTokenFromKeyring
getNonRefreshableTokenFromKeyring reads the token straight from secure storage for the hostname and optional username, consulting no environment varia
pkg/cmd/auth/token/token.go:204
↓ 1 callersFunctiongetOrCreateDeviceID
()
internal/telemetry/telemetry.go:38
↓ 1 callersFunctiongetOrgPublicKey
(client *api.Client, host, orgName string, app shared.App)
pkg/cmd/secret/set/http.go:43
↓ 1 callersFunctiongetOrgSecrets
(client *http.Client, host, orgName string, showSelectedRepoInfo bool, app shared.App)
pkg/cmd/secret/list/list.go:251
↓ 1 callersFunctiongetOrgVariables
(client *http.Client, host, orgName string, showSelectedRepoInfo bool)
pkg/cmd/variable/list/list.go:212
↓ 1 callersFunctiongetParams
(opts *EditOptions)
pkg/cmd/release/edit/edit.go:136
↓ 1 callersFunctiongetPerm
(m os.FileMode)
internal/zip/zip.go:62
↓ 1 callersFunctiongetPortPairs
getPortPairs parses a list of strings of form "%d:%d" into pairs of (remote, local) numbers.
pkg/cmd/codespace/ports.go:372
↓ 1 callersFunctiongetPostCreateOutput
(ctx context.Context, tunnelPort int, user string)
internal/codespaces/states.go:110
↓ 1 callersFunctiongetReadmePath
(repo ghrepo.Interface, branch string)
pkg/cmd/repo/view/http.go:65
↓ 1 callersFunctiongetRepoIds
(client *api.Client, host, owner string, repositoryNames []string)
pkg/cmd/variable/set/set.go:287
↓ 1 callersFunctiongetRepoPubKey
(client *api.Client, repo ghrepo.Interface, app shared.App)
pkg/cmd/secret/set/http.go:59
↓ 1 callersFunctiongetRepoSecrets
(client *http.Client, repo ghrepo.Interface, app shared.App)
pkg/cmd/secret/list/list.go:310
↓ 1 callersFunctiongetRepoSuggestions
(ctx context.Context, apiClient apiClient, partialSearch string)
pkg/cmd/codespace/create.go:580
↓ 1 callersFunctiongetRepoVariables
(client *http.Client, repo ghrepo.Interface)
pkg/cmd/variable/list/list.go:196
↓ 1 callersFunctiongetRunLog
(cache RunLogCache, httpClient *http.Client, repo ghrepo.Interface, run *shared.Run, attempt uint64)
pkg/cmd/run/view/view.go:508
↓ 1 callersFunctiongetSortedKeys
(m map[string]string)
pkg/cmd/alias/imports/import.go:184
↓ 1 callersFunctiongetToken
(c *config.Config, hostname string)
internal/config/migration/multi_account.go:147
↓ 1 callersFunctiongetTokenReadOnly
getTokenReadOnly resolves the stored active token for the hostname and optional username without contacting the token endpoint. It still surfaces a re
pkg/cmd/auth/token/token.go:182
↓ 1 callersFunctiongetTokenWithRefresh
getTokenWithRefresh resolves the active token for the hostname and optional username and refreshes it when necessary. Refresh is best effort: a failed
pkg/cmd/auth/token/token.go:193
↓ 1 callersFunctiongetTopics
(ctx context.Context, httpClient *http.Client, repo ghrepo.Interface)
pkg/cmd/repo/edit/edit.go:568
↓ 1 callersMethodgetTrustDomain
(u safeurl.SafeURL)
pkg/cmd/attestation/api/client.go:299
↓ 1 callersFunctiongetTunnelClient
getTunnelClient creates a tunnel client for the given tunnel. The tunnel client is used to connect to the tunnel and allows for ports to be forwarded
internal/codespaces/connection/connection.go:152
↓ 1 callersFunctiongetTunnelManager
getTunnelManager creates a tunnel manager for the given codespace. The tunnel manager is used to get the tunnel hosted in the codespace that we want t
internal/codespaces/connection/connection.go:131
↓ 1 callersFunctiongetUserPublicKey
(client *api.Client, host string)
pkg/cmd/secret/set/http.go:51
↓ 1 callersFunctiongetUserSecrets
(client *http.Client, host string, showSelectedRepoInfo bool)
pkg/cmd/secret/list/list.go:276
↓ 1 callersFunctiongetUsername
(c *config.Config, hostname, token string, transport http.RoundTripper)
internal/config/migration/multi_account.go:170
↓ 1 callersFunctionghId
(s *string)
pkg/cmd/pr/shared/editable_http.go:220
↓ 1 callersFunctionghString
(s *string)
pkg/cmd/pr/shared/editable_http.go:232
↓ 1 callersFunctionghVersion
(path string, env []string, dir string)
script/ghmock/run.go:582
↓ 1 callersFunctiongitBuildDirectory
(runID string, index int)
script/ghmock/gitcmd.go:363
↓ 1 callersMethodgitWorld
(opts gitOptions)
script/ghmock/gitcmd.go:204
↓ 1 callersMethodgoBinScaffolding
(name string)
pkg/cmd/extension/manager.go:671
↓ 1 callersFunctiongqlEntry
(run, operation, query, vars string)
script/ghmock/scaffold_test.go:73
↓ 1 callersFunctiongraphQLBody
(t *testing.T, query string, operation ...string)
script/ghmock/server_test.go:56
↓ 1 callersFunctiongraphQLBodyWithVariables
(t *testing.T, query, variables string)
script/ghmock/server_test.go:67
↓ 1 callersFunctiongraphQLFieldNames
(def *ast.Definition)
script/ghmock/schemacmd.go:249
↓ 1 callersMethodgraphQLSchema
graphQLSchema returns GitHub's GraphQL schema, or nil if checks are off or it couldn't be loaded.
script/ghmock/server.go:81
← previousnext →3,201–3,300 of 7,487, ranked by callers