Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ functions
Functions
7,487 in github.com/cli/cli
⨍
Functions
7,487
◇
Types & classes
1,526
↓ 1 callers
Function
filteredOutputAt
* 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 callers
Function
findByNumber
(httpClient *http.Client, repo ghrepo.Interface, number int, fields []string)
pkg/cmd/pr/shared/finder.go:356
↓ 1 callers
Function
findCommand
(cmd *cobra.Command, name string)
pkg/cmd/root/help.go:246
↓ 1 callers
Function
findExistingLinkedBranchName
(branches []api.LinkedBranch, branchRepo ghrepo.Interface, branchName string)
pkg/cmd/issue/develop/develop.go:290
↓ 1 callers
Function
findForRefs
(httpClient *http.Client, prRefs PRFindRefs, stateFilters, fields []string)
pkg/cmd/pr/shared/finder.go:386
↓ 1 callers
Function
findGitHubMetadataKeys
findGitHubMetadataKeys returns metadata keys with the "github-" prefix.
pkg/cmd/skills/publish/publish.go:1125
↓ 1 callers
Function
firstConfiguredKeyPair
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 callers
Function
fixture
()
evals/src/harness.test.ts:96
↓ 1 callers
Function
fixtureAttachmentArgs
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 callers
Function
floatToString
(f float64, p uint8)
pkg/cmd/cache/list/list.go:164
↓ 1 callers
Function
floatToString
render float to fixed precision using truncation instead of rounding
pkg/cmd/release/view/view.go:222
↓ 1 callers
Function
flockRefreshLock
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 callers
Function
fmtVisibility
(s shared.Variable)
pkg/cmd/variable/list/list.go:180
↓ 1 callers
Function
fmtVisibility
(s Secret)
pkg/cmd/secret/list/list.go:235
↓ 1 callers
Function
followLogs
(opts *CreateOptions, capiClient capi.CapiClient, sessionID string)
pkg/cmd/agent-task/create/create.go:263
↓ 1 callers
Function
formatAuthentic
(authentic bool, certIssuer string)
pkg/cmd/attestation/inspect/inspect.go:293
↓ 1 callers
Function
formatComment
(io *iostreams.IOStreams, comment Comment, newest bool)
pkg/cmd/pr/shared/comments.go:89
↓ 1 callers
Function
formatCommentStatus
(cs *iostreams.ColorScheme, status string)
pkg/cmd/pr/shared/comments.go:173
↓ 1 callers
Function
formatGitStatus
(codespace codespace)
pkg/cmd/codespace/view.go:114
↓ 1 callers
Function
formatGraphQLError
formatGraphQLError turns a parser or validator error into a short line.
script/ghmock/checker.go:224
↓ 1 callers
Function
formatHiddenComment
(comment Comment)
pkg/cmd/pr/shared/comments.go:197
↓ 1 callers
Function
formatLinkedIssueListWithTitle
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 callers
Function
formatLinkedIssueRefs
formatLinkedIssueRefs formats a comma-separated list of linked issue references without titles.
pkg/cmd/issue/view/view.go:370
↓ 1 callers
Function
formatNwo
(longUrl string)
pkg/cmd/attestation/inspect/inspect.go:284
↓ 1 callers
Function
formatPayloads
(payloads []requestPayload)
script/ghmock/report.go:467
↓ 1 callers
Function
formatRawComment
(comment Comment)
pkg/cmd/pr/shared/comments.go:38
↓ 1 callers
Function
formatRawCommentStatus
(status string)
pkg/cmd/pr/shared/comments.go:186
↓ 1 callers
Function
formatReactionGroup
(rg api.ReactionGroup)
pkg/cmd/pr/shared/reaction_groups.go:22
↓ 1 callers
Function
formatRetentionPeriodDays
(codespace codespace)
pkg/cmd/codespace/view.go:124
↓ 1 callers
Function
formatSpecialQualifiers
(qualifier string, vs []string, specialGroupsToOR [][]string)
pkg/search/query.go:188
↓ 1 callers
Function
formattedReviewerState
formattedReviewerState formats a reviewerState with state color
pkg/cmd/pr/view/view.go:333
↓ 1 callers
Method
fragmentType
fragmentType finds the first fragment, in query order, on a possible type.
script/ghmock/gqlscaffold.go:283
↓ 1 callers
Function
fromAPISession
(s session)
pkg/cmd/agent-task/capi/sessions.go:556
↓ 1 callers
Method
fromEnv
()
acceptance/acceptance_test.go:1307
↓ 1 callers
Function
genMan
(cmd *cobra.Command, header *GenManHeader)
internal/docs/man.go:210
↓ 1 callers
Function
genManTreeFromOpts
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 callers
Method
generate
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 callers
Function
generateBranchURL
(r ghrepo.Interface, branch string)
pkg/cmd/repo/view/view.go:227
↓ 1 callers
Function
generateChangelog
(commits []logEntry)
pkg/cmd/release/create/create.go:654
↓ 1 callers
Function
generateCodespaceList
(start int, end int)
internal/codespaces/api/api_test.go:20
↓ 1 callers
Function
generateMissingBinaryIssueBody
(currentPlatform string)
pkg/cmd/extension/manager.go:391
↓ 1 callers
Function
generateMissingBinaryIssueCreateCommand
(repoOwner string, repoName string, currentPlatform string)
pkg/cmd/extension/manager.go:386
↓ 1 callers
Function
generatePreviewURL
(apiClient *api.Client, baseRepo ghrepo.Interface, tb prShared.IssueMetadataState, projectsV1Support gh.Projec
pkg/cmd/issue/create/create.go:495
↓ 1 callers
Function
generatePullRequestNodeID
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 callers
Function
generateUserNodeID
(userID int64)
pkg/cmd/agent-task/capi/sessions.go:552
↓ 1 callers
Function
generateWorkflows
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 callers
Function
getAttestationDetail
(tenant string, attr api.Attestation)
pkg/cmd/attestation/inspect/bundle.go:77
↓ 1 callers
Function
getAttestationsFor
(t *testing.T, bundlePath string)
pkg/cmd/attestation/verification/sigstore_integration_test.go:190
↓ 1 callers
Function
getAttestationsFor
(t *testing.T, bundlePath string)
pkg/cmd/attestation/verify/attestation_integration_test.go:19
↓ 1 callers
Function
getBundleIssuer
(b *bundle.Bundle)
pkg/cmd/attestation/verification/sigstore.go:188
↓ 1 callers
Function
getColor
(x int)
pkg/cmd/repo/credits/credits.go:284
↓ 1 callers
Function
getCustomHTTPReqHeaders
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 callers
Function
getDevContainer
(ctx context.Context, apiClient apiClient, codespace *api.Codespace)
pkg/cmd/codespace/ports.go:188
↓ 1 callers
Function
getEnvPubKey
(client *api.Client, repo ghrepo.Interface, envName string)
pkg/cmd/secret/set/http.go:67
↓ 1 callers
Function
getEnvSecrets
(client *http.Client, repo ghrepo.Interface, envName string)
pkg/cmd/secret/list/list.go:302
↓ 1 callers
Function
getEnvVariables
(client *http.Client, repo ghrepo.Interface, envName string)
pkg/cmd/variable/list/list.go:204
↓ 1 callers
Function
getFilesToRemove
(gist gistToUpdate, filename string)
pkg/cmd/gist/edit/edit.go:438
↓ 1 callers
Function
getLatestReleaseInfo
(ctx context.Context, client *http.Client, repo string)
internal/update/update.go:116
↓ 1 callers
Function
getLog
(httpClient *http.Client, hostname string, logPath safeurl.SafeURL)
pkg/cmd/run/view/view.go:487
↓ 1 callers
Function
getLowestCertInChain
(ca *root.FulcioCertificateAuthority)
pkg/cmd/attestation/verification/sigstore.go:235
↓ 1 callers
Function
getMachineName
getMachineName prompts the user to select the machine type, or validates the machine if non-empty.
pkg/cmd/codespace/create.go:520
↓ 1 callers
Function
getMergeText
(client *http.Client, repo ghrepo.Interface, prID string, mergeMethod PullRequestMergeMethod)
pkg/cmd/pr/merge/http.go:121
↓ 1 callers
Function
getNonRefreshableTokenFromKeyring
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 callers
Function
getOrCreateDeviceID
()
internal/telemetry/telemetry.go:38
↓ 1 callers
Function
getOrgPublicKey
(client *api.Client, host, orgName string, app shared.App)
pkg/cmd/secret/set/http.go:43
↓ 1 callers
Function
getOrgSecrets
(client *http.Client, host, orgName string, showSelectedRepoInfo bool, app shared.App)
pkg/cmd/secret/list/list.go:251
↓ 1 callers
Function
getOrgVariables
(client *http.Client, host, orgName string, showSelectedRepoInfo bool)
pkg/cmd/variable/list/list.go:212
↓ 1 callers
Function
getParams
(opts *EditOptions)
pkg/cmd/release/edit/edit.go:136
↓ 1 callers
Function
getPerm
(m os.FileMode)
internal/zip/zip.go:62
↓ 1 callers
Function
getPortPairs
getPortPairs parses a list of strings of form "%d:%d" into pairs of (remote, local) numbers.
pkg/cmd/codespace/ports.go:372
↓ 1 callers
Function
getPostCreateOutput
(ctx context.Context, tunnelPort int, user string)
internal/codespaces/states.go:110
↓ 1 callers
Function
getReadmePath
(repo ghrepo.Interface, branch string)
pkg/cmd/repo/view/http.go:65
↓ 1 callers
Function
getRepoIds
(client *api.Client, host, owner string, repositoryNames []string)
pkg/cmd/variable/set/set.go:287
↓ 1 callers
Function
getRepoPubKey
(client *api.Client, repo ghrepo.Interface, app shared.App)
pkg/cmd/secret/set/http.go:59
↓ 1 callers
Function
getRepoSecrets
(client *http.Client, repo ghrepo.Interface, app shared.App)
pkg/cmd/secret/list/list.go:310
↓ 1 callers
Function
getRepoSuggestions
(ctx context.Context, apiClient apiClient, partialSearch string)
pkg/cmd/codespace/create.go:580
↓ 1 callers
Function
getRepoVariables
(client *http.Client, repo ghrepo.Interface)
pkg/cmd/variable/list/list.go:196
↓ 1 callers
Function
getRunLog
(cache RunLogCache, httpClient *http.Client, repo ghrepo.Interface, run *shared.Run, attempt uint64)
pkg/cmd/run/view/view.go:508
↓ 1 callers
Function
getSortedKeys
(m map[string]string)
pkg/cmd/alias/imports/import.go:184
↓ 1 callers
Function
getToken
(c *config.Config, hostname string)
internal/config/migration/multi_account.go:147
↓ 1 callers
Function
getTokenReadOnly
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 callers
Function
getTokenWithRefresh
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 callers
Function
getTopics
(ctx context.Context, httpClient *http.Client, repo ghrepo.Interface)
pkg/cmd/repo/edit/edit.go:568
↓ 1 callers
Method
getTrustDomain
(u safeurl.SafeURL)
pkg/cmd/attestation/api/client.go:299
↓ 1 callers
Function
getTunnelClient
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 callers
Function
getTunnelManager
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 callers
Function
getUserPublicKey
(client *api.Client, host string)
pkg/cmd/secret/set/http.go:51
↓ 1 callers
Function
getUserSecrets
(client *http.Client, host string, showSelectedRepoInfo bool)
pkg/cmd/secret/list/list.go:276
↓ 1 callers
Function
getUsername
(c *config.Config, hostname, token string, transport http.RoundTripper)
internal/config/migration/multi_account.go:170
↓ 1 callers
Function
ghId
(s *string)
pkg/cmd/pr/shared/editable_http.go:220
↓ 1 callers
Function
ghString
(s *string)
pkg/cmd/pr/shared/editable_http.go:232
↓ 1 callers
Function
ghVersion
(path string, env []string, dir string)
script/ghmock/run.go:582
↓ 1 callers
Function
gitBuildDirectory
(runID string, index int)
script/ghmock/gitcmd.go:363
↓ 1 callers
Method
gitWorld
(opts gitOptions)
script/ghmock/gitcmd.go:204
↓ 1 callers
Method
goBinScaffolding
(name string)
pkg/cmd/extension/manager.go:671
↓ 1 callers
Function
gqlEntry
(run, operation, query, vars string)
script/ghmock/scaffold_test.go:73
↓ 1 callers
Function
graphQLBody
(t *testing.T, query string, operation ...string)
script/ghmock/server_test.go:56
↓ 1 callers
Function
graphQLBodyWithVariables
(t *testing.T, query, variables string)
script/ghmock/server_test.go:67
↓ 1 callers
Function
graphQLFieldNames
(def *ast.Definition)
script/ghmock/schemacmd.go:249
↓ 1 callers
Method
graphQLSchema
graphQLSchema returns GitHub's GraphQL schema, or nil if checks are off or it couldn't be loaded.
script/ghmock/server.go:81
← previous
next →
3,201–3,300 of 7,487, ranked by callers