MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

↓ 1 callersMethodGetLog
()
pkg/cmd/run/view/logs.go:23
↓ 1 callersMethodGetLog
()
pkg/cmd/run/view/logs.go:30
↓ 1 callersMethodGetLog
()
pkg/cmd/run/view/logs.go:41
↓ 1 callersMethodGetNeverPrompt
()
pkg/iostreams/iostreams.go:284
↓ 1 callersFunctionGetOCIAttestations
(client oci.Client, artifact artifact.DigestedArtifact)
pkg/cmd/attestation/verification/attestation.go:84
↓ 1 callersMethodGetPager
()
pkg/iostreams/iostreams.go:213
↓ 1 callersMethodGetPullRequestDatabaseID
(ctx context.Context, hostname string, owner string, repo string, number int)
pkg/cmd/agent-task/capi/client.go:22
↓ 1 callersMethodGetPullRequestDatabaseID
GetPullRequestDatabaseID retrieves the database ID and URL of a pull request given its number in a repository.
pkg/cmd/agent-task/capi/sessions.go:511
↓ 1 callersMethodGetRepository
(ctx context.Context, nwo string)
pkg/cmd/codespace/common.go:79
↓ 1 callersMethodGetSession
(ctx context.Context, id string)
pkg/cmd/agent-task/capi/client.go:19
↓ 1 callersMethodGetUser
(ctx context.Context)
pkg/cmd/codespace/common.go:70
↓ 1 callersFunctionGistPrefix
(hostname string)
internal/ghinstance/host.go:72
↓ 1 callersMethodGitProtocol
(hostname string)
internal/config/config.go:166
↓ 1 callersMethodGreenBold
(t string)
pkg/iostreams/color.go:129
↓ 1 callersMethodHTTP
()
api/client.go:40
↓ 1 callersMethodHTTPUnixSocket
(hostname string)
internal/config/config.go:171
↓ 1 callersMethodHasAuthErrors
()
pkg/cmd/status/status.go:626
↓ 1 callersFunctionHasFailed
HasFailed signals that the main process should exit with non-zero status
pkg/cmd/root/help.go:57
↓ 1 callersMethodHasKeygen
()
pkg/ssh/ssh_keys.go:46
↓ 1 callersMethodHasNextPage
()
pkg/cmd/project/shared/queries/queries.go:755
↓ 1 callersMethodHasTrueColor
()
pkg/iostreams/iostreams.go:115
↓ 1 callersMethodHeadRepo
()
pkg/cmd/pr/create/create.go:158
↓ 1 callersMethodHeadRepos
()
context/context.go:111
↓ 1 callersMethodHelper
()
internal/browser/stub.go:21
↓ 1 callersMethodHiddenReason
()
pkg/cmd/pr/shared/comments.go:21
↓ 1 callersMethodHighlightStart
()
pkg/iostreams/color.go:212
↓ 1 callersFunctionHomeDirPath
(subdir string)
internal/config/config.go:1030
↓ 1 callersMethodHosts
()
internal/config/config.go:451
↓ 1 callersMethodID
ID is the id of the ProjectItem.
pkg/cmd/project/shared/queries/queries.go:647
↓ 1 callersFunctionInitEditorMode
(f *cmdutil.Factory, editorMode bool, webMode bool, canPrompt bool)
pkg/cmd/pr/shared/survey.go:426
↓ 1 callersMethodInput
(string, string)
pkg/cmd/pr/shared/editable.go:365
↓ 1 callersMethodInput
(string, string)
pkg/cmd/workflow/run/run.go:47
↓ 1 callersMethodInputCalls
InputCalls gets all the calls that were made to Input. Check the length with: len(mockedPrompter.InputCalls())
internal/prompter/prompter_mock.go:289
↓ 1 callersMethodInputHostname
InputHostname prompts the user to enter a hostname.
internal/prompter/prompter.go:48
↓ 1 callersMethodInstallLocalCalls
InstallLocalCalls gets all the calls that were made to InstallLocal. Check the length with: len(mockedExtensionManager.InstallLocalCalls())
pkg/extensions/manager_mock.go:313
↓ 1 callersMethodIs256ColorSupported
()
pkg/iostreams/iostreams.go:46
↓ 1 callersMethodIsAncestor
(string, string)
pkg/cmd/repo/sync/git.go:16
↓ 1 callersMethodIsBinary
()
pkg/cmd/extension/extension.go:55
↓ 1 callersFunctionIsBinaryFile
(file string)
pkg/cmd/gist/shared/shared.go:198
↓ 1 callersMethodIsBot
()
pkg/search/result.go:260
↓ 1 callersMethodIsColorEnabled
()
pkg/iostreams/iostreams.go:45
↓ 1 callersFunctionIsFullyQualifiedRef
IsFullyQualifiedRef returns true if ref uses the "refs/heads/" or "refs/tags/" prefix.
internal/skills/discovery/discovery.go:133
↓ 1 callersFunctionIsHostSupported
(host string)
pkg/cmd/attestation/auth/host.go:11
↓ 1 callersMethodIsLocal
()
pkg/cmd/extension/extension.go:51
↓ 1 callersMethodIsLocal
IsLocal calls IsLocalFunc.
pkg/extensions/extension_mock.go:187
↓ 1 callersMethodIsLocalGitRepo
(ctx context.Context)
git/client.go:764
↓ 1 callersMethodIsOrganization
()
pkg/cmd/repo/create/http.go:258
↓ 1 callersMethodIsPullRequest
()
pkg/search/result.go:401
↓ 1 callersMethodIsPullRequestCalls
IsPullRequestCalls gets all the calls that were made to IsPullRequest. Check the length with: len(mockedArtifactClient.IsPullRequestCalls())
pkg/cmd/issue/artifact/client/client_mock.go:301
↓ 1 callersFunctionIsSessionID
(s string)
pkg/cmd/agent-task/shared/capi.go:71
↓ 1 callersFunctionIsSkipped
(c Conclusion)
pkg/cmd/run/shared/shared.go:327
↓ 1 callersMethodIsTerminalOutput
()
pkg/iostreams/iostreams.go:44
↓ 1 callersFunctionIssueCreate
IssueCreate creates an issue in a GitHub repository
api/queries_issue.go:326
↓ 1 callersMethodIssueFeatures
()
internal/featuredetection/feature_detection.go:228
↓ 1 callersFunctionIssueNodeID
IssueNodeID fetches the node ID for an issue given its number and repository.
api/queries_issue.go:776
↓ 1 callersMethodIssueOrPullRequestID
IssueOrPullRequestID returns the ID of the issue or pull request from a URL.
pkg/cmd/project/shared/queries/queries.go:1297
↓ 1 callersFunctionIssueStatus
(client *Client, repo ghrepo.Interface, options IssueStatusOptions)
api/queries_issue.go:396
↓ 1 callersMethodJupyter
(ctx context.Context, selector *CodespaceSelector)
pkg/cmd/codespace/jupyter.go:32
↓ 1 callersMethodKeepAlive
()
internal/codespaces/rpc/invoker.go:49
↓ 1 callersMethodLabel
Label stylizes text based on label's RGB hex color.
pkg/iostreams/color.go:266
↓ 1 callersFunctionLastCommit
(client *Client, repo ghrepo.Interface)
api/queries_repo.go:676
↓ 1 callersMethodLastCommit
(ctx context.Context)
git/client.go:405
↓ 1 callersMethodLatestVersion
()
pkg/cmd/extension/extension.go:116
↓ 1 callersMethodLatestVersion
LatestVersion calls LatestVersionFunc.
pkg/extensions/extension_mock.go:241
↓ 1 callersMethodLen
()
pkg/set/string_set.go:64
↓ 1 callersMethodLinkProjectToRepository
LinkProjectToRepository links a project to a repository.
pkg/cmd/project/shared/queries/queries.go:1652
↓ 1 callersMethodLinkProjectToTeam
LinkProjectToTeam links a project to a team.
pkg/cmd/project/shared/queries/queries.go:1665
↓ 1 callersMethodList
(repo ghrepo.Interface)
pkg/cmd/repo/autolink/list/http.go:18
↓ 1 callersMethodList
(repo ghrepo.Interface)
pkg/cmd/repo/autolink/list/list.go:29
↓ 1 callersMethodList
(ctx context.Context, opts *listOptions, exporter cmdutil.Exporter)
pkg/cmd/codespace/list.go:85
↓ 1 callersMethodListCalls
ListCalls gets all the calls that were made to List. Check the length with: len(mockedArtifactClient.ListCalls())
pkg/cmd/issue/artifact/client/client_mock.go:341
↓ 1 callersMethodListCalls
ListCalls gets all the calls that were made to List. Check the length with: len(mockedExtensionManager.ListCalls())
pkg/extensions/manager_mock.go:342
↓ 1 callersMethodListCodespacesCalls
ListCodespacesCalls gets all the calls that were made to ListCodespaces. Check the length with: len(mockedapiClient.ListCodespacesCalls())
pkg/cmd/codespace/mock_api.go:837
↓ 1 callersMethodListDevContainers
(ctx context.Context, repoID int64, branch string, limit int)
pkg/cmd/codespace/common.go:83
↓ 1 callersMethodListLatestSessionsForViewer
(ctx context.Context, limit int)
pkg/cmd/agent-task/capi/client.go:16
↓ 1 callersMethodListLatestSessionsForViewer
ListLatestSessionsForViewer lists all agent sessions for the authenticated user up to limit.
pkg/cmd/agent-task/capi/sessions.go:212
↓ 1 callersMethodListPorts
ListPorts implements portforwarder.PortForwarder.
internal/codespaces/rpc/test/port_forwarder.go:71
↓ 1 callersMethodListSessionsByResourceID
(ctx context.Context, resourceType string, resourceID int64, limit int)
pkg/cmd/agent-task/capi/client.go:21
↓ 1 callersMethodLoadEvents
Populate .RepoActivity
pkg/cmd/status/status.go:531
↓ 1 callersMethodLoadNotifications
These are split up by endpoint since it is along that boundary we parallelize work Populate .Mentions
pkg/cmd/status/status.go:261
↓ 1 callersMethodLoadSearchResults
Populate .AssignedPRs, .AssignedIssues, .ReviewRequests
pkg/cmd/status/status.go:415
↓ 1 callersMethodLogins
()
api/queries_pr_review.go:165
↓ 1 callersMethodMagenta
(t string)
pkg/iostreams/color.go:152
↓ 1 callersMethodMarkdownEditor
(string, string, bool)
pkg/cmd/pr/shared/editable.go:366
↓ 1 callersMethodMarkdownEditor
MarkdownEditor prompts the user to edit a markdown document in an editor. If blankAllowed is true, the user can skip the editor and an empty string wi
internal/prompter/prompter.go:52
↓ 1 callersFunctionMatchesSkillPath
MatchesSkillPath checks if a file path matches any known skill convention and returns the skill name. Returns empty string if the path doesn't match.
internal/skills/discovery/discovery.go:424
↓ 1 callersMethodMergeFastForward
(string)
pkg/cmd/repo/sync/git.go:18
↓ 1 callersMethodMetaMap
()
internal/barista/observability/telemetry.twirp.go:887
↓ 1 callersMethodMilestoneId
()
pkg/cmd/pr/shared/editable.go:278
↓ 1 callersMethodMsg
()
internal/barista/observability/telemetry.twirp.go:885
↓ 1 callersMethodMultiSelect
(string, []string, []string)
pkg/cmd/pr/shared/editable.go:367
↓ 1 callersMethodMultiSelectWithSearch
(prompt, searchPrompt string, defaults []string, persistentOptions []string, searchFunc func(string) prompter.
pkg/cmd/pr/shared/editable.go:368
↓ 1 callersMethodMultiSelectWithSearch
MultiSelectWithSearch is MultiSelect with an added search option to the list, prompting the user for text input to filter the options via the searchFu
internal/prompter/prompter.go:32
↓ 1 callersMethodName
Name calls NameFunc.
pkg/extensions/extension_mock.go:268
↓ 1 callersMethodNameRef
()
pkg/cmd/attestation/artifact/artifact.go:91
↓ 1 callersFunctionNew
(appVersion string, invokingAgent string, cfgFunc func() (gh.Config, error), ios *iostreams.IOStreams, executa
pkg/cmd/factory/default.go:29
↓ 1 callersFunctionNew
(launcher string, stdout, stderr io.Writer)
internal/browser/browser.go:13
↓ 1 callersFunctionNewCachedDetector
NewCachedDetector returns a Detector that probes the given host and caches detection results for the given TTL.
internal/featuredetection/feature_detection.go:211
↓ 1 callersFunctionNewClientWithMockGHClient
(hasNextPage bool)
pkg/cmd/attestation/api/client_test.go:21
↓ 1 callersFunctionNewCmdAddItem
(f *cmdutil.Factory, runF func(config addItemConfig) error)
pkg/cmd/project/item-add/item_add.go:37
← previousnext →2,501–2,600 of 7,572, ranked by callers