MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

↓ 1 callersFunctionRegisterJupyterServerHostServer
(s grpc.ServiceRegistrar, srv JupyterServerHostServer)
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1_grpc.pb.go:69
↓ 1 callersFunctionRegisterSshServerHostServer
(s grpc.ServiceRegistrar, srv SshServerHostServer)
internal/codespaces/rpc/ssh/ssh_server_host_service.v1_grpc.pb.go:69
↓ 1 callersMethodRemove
(name string)
pkg/cmd/extension/manager.go:579
↓ 1 callersMethodRemove
(value string)
pkg/set/string_set.go:31
↓ 1 callersFunctionRemoveBlockedBy
RemoveBlockedBy removes a "blocked by" relationship between two issues.
api/queries_issue.go:615
↓ 1 callersMethodRemoveCalls
RemoveCalls gets all the calls that were made to Remove. Check the length with: len(mockedExtensionManager.RemoveCalls())
pkg/extensions/manager_mock.go:372
↓ 1 callersFunctionRemoveDiacritics
RemoveDiacritics returns the input value without "diacritics", or accent marks
internal/text/text.go:109
↓ 1 callersFunctionRemovePullRequestReviews
RemovePullRequestReviews removes requested reviewers from a pull request using the REST API. Team identifiers can be in "org/slug" format.
api/queries_pr_review.go:316
↓ 1 callersFunctionRemoveSubIssue
RemoveSubIssue removes a sub-issue from a parent issue.
api/queries_issue.go:565
↓ 1 callersMethodRender
Render processes the given logs and writes the rendered output to w. Errors are returned when an unexpected log entry is encountered.
pkg/cmd/agent-task/shared/log.go:58
↓ 1 callersMethodReplaceSlice
ReplaceSlice replaces usages of `@copilot` in a slice with Copilot's login.
pkg/cmd/pr/shared/params.go:365
↓ 1 callersFunctionRepoAssignableActors
RepoAssignableActors fetches all the assignable actors for a repository on GitHub hosts that support Actor assignees.
api/queries_repo.go:1288
↓ 1 callersFunctionRepoAssignableUsers
RepoAssignableUsers fetches all the assignable users for a repository
api/queries_repo.go:1237
↓ 1 callersFunctionRepoAssigneeSearchFunc
RepoAssigneeSearchFunc returns a search function for MultiSelectWithSearch that dynamically fetches assignable actors at the repository level. Used du
pkg/cmd/pr/shared/editable.go:675
↓ 1 callersFunctionRepoFindForks
RepoFindForks finds forks of the repo that are affiliated with the viewer
api/queries_repo.go:696
↓ 1 callersMethodRepoHost
RepoHost is the GitHub hostname of the repository
api/queries_repo.go:262
↓ 1 callersFunctionRepoLabels
RepoLabels fetches all the labels in a repository
api/queries_repo.go:1421
↓ 1 callersMethodRepoMetadataFetch
(api.RepoMetadataInput)
pkg/cmd/pr/shared/survey.go:154
↓ 1 callersMethodRepoName
RepoName is the name of the repository
api/queries_repo.go:257
↓ 1 callersFunctionRepoNameFromRemote
RepoNameFromRemote extracts "owner/repo" from a git remote URL.
internal/skills/registry/registry.go:461
↓ 1 callersFunctionRepoNetworkStubResponse
(owner, repo, defaultBranch, permission string)
pkg/httpmock/legacy.go:54
↓ 1 callersFunctionRepoParent
RepoParent finds out the parent repository of a fork
api/queries_repo.go:441
↓ 1 callersFunctionRepoProjects
RepoProjects fetches all open projects for a repository.
api/queries_repo.go:1102
↓ 1 callersFunctionRepoProjectsV2
RepoProjectsV2 fetches all open projectsV2 for a repository.
api/queries_projects_v2.go:247
↓ 1 callersMethodRepositoryFeatures
()
internal/featuredetection/feature_detection.go:333
↓ 1 callersFunctionRequiredStatusCheckRollupGraphQL
(prID, after string, includeEvent bool)
api/query_builder.go:270
↓ 1 callersMethodReset
()
pkg/surveyext/editor_test.go:273
↓ 1 callersMethodResetHard
(string)
pkg/cmd/repo/sync/git.go:19
↓ 1 callersMethodResolve
()
pkg/cmd/pr/checkout/checkout.go:401
↓ 1 callersMethodResolve
()
pkg/cmd/pr/checkout/checkout.go:409
↓ 1 callersMethodResolve
()
pkg/cmd/pr/checkout/checkout.go:436
↓ 1 callersFunctionResolveRemotesToRepos
(remotes Remotes, client *api.Client, base string)
context/context.go:19
↓ 1 callersMethodRetrieve
()
pkg/cmd/pr/edit/edit.go:613
↓ 1 callersMethodReviewStatus
()
api/queries_pr_review.go:104
↓ 1 callersMethodRoundTrip
(req *http.Request)
api/client_test.go:417
↓ 1 callersMethodRun
Run satisfies Runnable
internal/run/stub.go:123
↓ 1 callersFunctionSSHSigningKeyUpload
Uploads the provided SSH Signing key. Returns true if the key was uploaded, false if it was not.
pkg/cmd/ssh-key/add/http.go:62
↓ 1 callersFunctionScopesSuggestion
ScopesSuggestion is an error messaging utility that prints the suggestion to request additional OAuth scopes in case a server response indicates that
api/client.go:345
↓ 1 callersFunctionSearchQueryBuild
(options FilterOptions, advancedIssueSearchSyntax bool)
pkg/cmd/pr/shared/params.go:235
↓ 1 callersFunctionSearchRepoAssignableActors
SearchRepoAssignableActors searches assignable actors for a repository with an optional query string. Unlike RepoAssignableActors which fetches all ac
api/queries_repo.go:1355
↓ 1 callersMethodSelect
(name string)
pkg/cmd/pr/shared/templates.go:212
↓ 1 callersMethodSelect
Hidden codespace `select` command allows to reuse existing codespace selection dialog by external GH CLI extensions. By default output selected codesp
pkg/cmd/codespace/select.go:58
↓ 1 callersMethodSelect
(ctx context.Context)
pkg/cmd/codespace/codespace_selector.go:37
↓ 1 callersMethodSelectCalls
SelectCalls gets all the calls that were made to Select. Check the length with: len(mockedPrompter.SelectCalls())
internal/prompter/prompter_mock.go:514
↓ 1 callersMethodServeHTTP
(w http.ResponseWriter, r *http.Request)
script/ghmock/server.go:131
↓ 1 callersMethodSetAccessibleColorsEnabled
(enabled bool)
pkg/iostreams/iostreams.go:467
↓ 1 callersMethodSetClient
(client *http.Client)
pkg/cmd/extension/manager.go:86
↓ 1 callersMethodSetColorLabels
(colorLabels bool)
pkg/iostreams/iostreams.go:158
↓ 1 callersMethodSetConfig
(cfg gh.Config)
pkg/cmd/extension/manager.go:82
↓ 1 callersMethodSetExperimentalPrompterEnabled
(enabled bool)
pkg/iostreams/iostreams.go:483
↓ 1 callersMethodSetSampleRate
SetSampleRate leaves telemetry disabled.
internal/telemetry/telemetry.go:510
↓ 1 callersFunctionShell
Shell runs an interactive secure shell over an existing port-forwarding session. It runs until the shell is terminated (including by cancellation of t
internal/codespaces/ssh.go:21
↓ 1 callersMethodSlug
()
api/queries_pr_review.go:243
↓ 1 callersMethodSpinner
(hostname string)
internal/config/config.go:196
↓ 1 callersMethodStartCodespace
(ctx context.Context, name string)
internal/codespaces/codespaces.go:41
↓ 1 callersMethodStartProgressIndicatorWithLabel
StartProgressIndicatorWithLabel starts a progress indicator with a message.
pkg/cmd/codespace/common.go:54
↓ 1 callersMethodStartSSHServerWithOptions
(ctx context.Context, options StartSSHServerOptions)
internal/codespaces/rpc/invoker.go:48
↓ 1 callersMethodStartSSHServerWithOptions
Starts a remote SSH server to allow the user to connect to the codespace via SSH
internal/codespaces/rpc/invoker.go:221
↓ 1 callersFunctionStatusCheckRollupGraphQLWithCountByState
()
api/query_builder.go:208
↓ 1 callersMethodStopCodespace
(ctx context.Context, opts *stopOptions)
pkg/cmd/codespace/stop.go:40
↓ 1 callersMethodStopProgressIndicator
StopProgressIndicator stops the progress indicator.
pkg/cmd/codespace/common.go:59
↓ 1 callersMethodStopProgressIndicator
StopProgressIndicator stops the progress indicator if it is running. Note that a textual progress indicator does not create a progress indicator, so t
pkg/iostreams/iostreams.go:364
↓ 1 callersMethodString
()
script/ghmock/terminal.go:99
↓ 1 callersMethodString
()
git/client.go:571
↓ 1 callersMethodString
()
pkg/cmd/secret/shared/shared.go:29
↓ 1 callersMethodString
String returns a string representation of the absolute path, or panics if the absolute path is empty. This guards against programmer error.
internal/safepaths/absolute.go:28
↓ 1 callersMethodString
String returns the wrapped URL verbatim.
internal/safeurl/safeurl.go:127
↓ 1 callersMethodStubRepoResponseWithPermission
(owner, repo, permission string)
pkg/httpmock/legacy.go:50
↓ 1 callersFunctionSuggestedAssignableActors
SuggestedAssignableActors fetches up to 10 suggested actors for a specific assignable (Issue or PullRequest) node ID. `assignableID` is the GraphQL no
api/queries_pr.go:655
↓ 1 callersMethodTableHeader
(t string)
pkg/iostreams/color.go:277
↓ 1 callersMethodTelemetry
()
internal/config/config.go:201
↓ 1 callersMethodTempFile
(dir, pattern string)
pkg/iostreams/iostreams.go:460
↓ 1 callersFunctionTestRun
(id int64, s Status, c Conclusion)
pkg/cmd/run/shared/test.go:13
↓ 1 callersFunctionTestRunWithCommit
(id int64, s Status, c Conclusion, commit string)
pkg/cmd/run/shared/test.go:17
↓ 1 callersFunctionTestRunWithOrgRequiredWorkflow
(id int64, s Status, c Conclusion, commit string)
pkg/cmd/run/shared/test.go:21
↓ 1 callersMethodTitleValue
()
pkg/cmd/pr/shared/editable.go:92
↓ 1 callersMethodTokenFromKeyring
TokenFromKeyring will retrieve the auth token for the given hostname, only searching in encrypted storage.
internal/config/config.go:427
↓ 1 callersMethodTrackingBranchNames
(context.Context, string)
pkg/cmdutil/flags.go:49
↓ 1 callersMethodTranslate
(*url.URL)
context/remote.go:102
↓ 1 callersMethodTruncDescription
()
pkg/cmd/gist/shared/shared.go:58
↓ 1 callersMethodType
Type is the typename of the project field.
pkg/cmd/project/shared/queries/queries.go:1000
↓ 1 callersMethodType
()
pkg/cmd/event/listen/listen.go:218
↓ 1 callersMethodType
()
pkg/cmd/codespace/create.go:57
↓ 1 callersMethodURL
()
pkg/cmd/extension/extension.go:59
↓ 1 callersMethodUnlinkProjectFromRepository
UnlinkProjectFromRepository unlinks a project from a repository.
pkg/cmd/project/shared/queries/queries.go:1678
↓ 1 callersMethodUnlinkProjectFromTeam
UnlinkProjectFromTeam unlinks a project from a team.
pkg/cmd/project/shared/queries/queries.go:1691
↓ 1 callersMethodUnqualifiedHeadRef
()
pkg/cmd/pr/shared/find_refs_resolution.go:100
↓ 1 callersMethodUpdateBranch
(string, string)
pkg/cmd/repo/sync/git.go:11
↓ 1 callersMethodUpdateBranch
UpdateBranch moves branch to ref. It uses `git branch --force` rather than `git update-ref` because update-ref will happily move a branch that is chec
pkg/cmd/repo/sync/git.go:29
↓ 1 callersMethodUpdateCalls
UpdateCalls gets all the calls that were made to Update. Check the length with: len(mockedArtifactClient.UpdateCalls())
pkg/cmd/issue/artifact/client/client_mock.go:387
↓ 1 callersMethodUpdateDir
UpdateDir returns the extension-specific directory where updates are stored.
pkg/cmd/extension/manager.go:599
↓ 1 callersMethodUpdateDir
UpdateDir calls UpdateDirFunc.
pkg/extensions/manager_mock.go:385
↓ 1 callersMethodUpdateDir
(name string)
pkg/extensions/extension.go:41
↓ 1 callersFunctionUpdateIssue
(httpClient *http.Client, repo ghrepo.Interface, id string, isPR bool, options Editable)
pkg/cmd/pr/shared/editable_http.go:12
↓ 1 callersFunctionUpdateIssueIssueType
UpdateIssueIssueType sets or clears the issue type on an issue. Pass an empty issueTypeID to clear the issue type.
api/queries_issue.go:507
↓ 1 callersMethodUpdatePortVisibility
(ctx context.Context, selector *CodespaceSelector, args []string)
pkg/cmd/codespace/ports.go:234
↓ 1 callersMethodUpdatePortVisibility
UpdatePortVisibility implements portforwarder.PortForwarder.
internal/codespaces/rpc/test/port_forwarder.go:76
↓ 1 callersFunctionUpdatePullRequestBranch
(client *Client, repo ghrepo.Interface, params githubv4.UpdatePullRequestBranchInput)
api/queries_pr.go:744
↓ 1 callersMethodUpgradeCalls
UpgradeCalls gets all the calls that were made to Upgrade. Check the length with: len(mockedExtensionManager.UpgradeCalls())
pkg/extensions/manager_mock.go:438
↓ 1 callersFunctionValidAgentIDs
ValidAgentIDs returns a comma-separated list of valid agent IDs.
internal/skills/registry/registry.go:367
← previousnext →2,801–2,900 of 7,572, ranked by callers