MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

MethodRemotes
()
pkg/cmd/extension/mocks.go:50
MethodRemove
Remove calls RemoveFunc.
pkg/extensions/manager_mock.go:353
MethodRemove
(_ string)
cmd/gen-docs/main.go:118
MethodRender
Render calls RenderFunc.
pkg/cmd/agent-task/shared/log_mock.go:107
MethodRenderCalls
RenderCalls gets all the calls that were made to Render. Check the length with: len(mockedLogRenderer.RenderCalls())
pkg/cmd/agent-task/shared/log_mock.go:130
MethodRepoHost
RepoHost is the GitHub hostname that the remote points to
context/remote.go:97
MethodRepoHost
()
internal/ghrepo/repo.go:119
MethodRepoMetadataFetch
(input api.RepoMetadataInput)
pkg/cmd/pr/shared/survey.go:145
MethodRepoMetadataFetch
(input api.RepoMetadataInput)
pkg/cmd/pr/shared/survey_test.go:20
MethodRepoMetadataFetch
(input api.RepoMetadataInput)
pkg/cmd/pr/shared/survey_test.go:181
MethodRepoName
RepoName is the name of the GitHub repository
context/remote.go:87
MethodRepoName
()
internal/ghrepo/repo.go:115
MethodRepoOwner
RepoOwner is the name of the GitHub account that owns the repo
context/remote.go:92
MethodRepoOwner
()
internal/ghrepo/repo.go:111
MethodRepositories
(query Query)
pkg/search/searcher.go:133
MethodRepositories
Repositories calls RepositoriesFunc.
pkg/search/searcher_mock.go:189
MethodRepositoriesCalls
RepositoriesCalls gets all the calls that were made to Repositories. Check the length with: len(mockedSearcher.RepositoriesCalls())
pkg/search/searcher_mock.go:208
MethodRepositoryDatabaseID
RepositoryDatabaseID returns the numeric REST id of the repository, or zero when the "repository" field was not requested.
api/queries_issue.go:489
MethodRepositoryDatabaseID
RepositoryDatabaseID returns the numeric REST id of the repository, or zero when the "repository" field was not requested.
api/queries_pr.go:330
MethodRepositoryFeatures
()
internal/featuredetection/detector_mock.go:15
MethodRepositoryFeatures
()
internal/featuredetection/detector_mock.go:57
MethodRepositoryViewerPermission
RepositoryViewerPermission returns the requesting user's role on the repository, or an empty string when the "repository" field was not requested.
api/queries_issue.go:498
MethodRepositoryViewerPermission
RepositoryViewerPermission returns the requesting user's role on the repository, or an empty string when the "repository" field was not requested.
api/queries_pr.go:339
MethodReset
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:29
MethodReset
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:72
MethodReset
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:31
MethodReset
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:81
MethodReset
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:32
MethodReset
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:87
MethodReset
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:141
MethodReset
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:188
MethodReset
()
internal/barista/observability/telemetry.pb.go:39
MethodReset
()
internal/barista/observability/telemetry.pb.go:106
MethodReset
()
internal/barista/observability/telemetry.pb.go:150
MethodResetHard
(ref string)
pkg/cmd/repo/sync/git.go:104
MethodResetHard
(a string)
pkg/cmd/repo/sync/mocks.go:57
MethodResolve
()
pkg/cmd/pr/checkout/checkout_test.go:172
MethodResolveCommentNodeID
ResolveCommentNodeID calls ResolveCommentNodeIDFunc.
pkg/cmd/discussion/client/client_mock.go:644
MethodResolveCommentNodeID
ResolveCommentNodeID constructs a discussion comment node ID from a repository and a comment database ID. It fetches the repository's database ID via
pkg/cmd/discussion/client/client.go:1290
MethodResolveCommentNodeIDCalls
ResolveCommentNodeIDCalls gets all the calls that were made to ResolveCommentNodeID. Check the length with: len(mockedDiscussionClient.ResolveCommen
pkg/cmd/discussion/client/client_mock.go:665
FunctionResolveIssueRef
ResolveIssueRef parses an issue reference (number or URL) and returns its node ID. References that point at a different host than baseRepo are rejecte
pkg/cmd/issue/shared/lookup.go:214
FunctionResolveIssueTypeName
ResolveIssueTypeName resolves an issue type name to its node ID by fetching the repository's available types.
pkg/cmd/issue/shared/lookup.go:233
MethodRetrieve
()
pkg/cmd/pr/edit/edit_test.go:1960
MethodRetrieve
()
pkg/cmd/pr/edit/edit.go:620
MethodRoundTrip
(*http.Request)
script/ghmock/run_test.go:58
MethodRoundTrip
(req *http.Request)
pkg/cmd/release/shared/upload_test.go:123
MethodRoundTrip
(req *http.Request)
pkg/cmd/auth/logout/logout.go:315
MethodRoundTrip
(req *http.Request)
pkg/cmd/agent-task/capi/client.go:74
MethodRoundTrip
(req *http.Request)
pkg/cmd/project/shared/queries/queries_test.go:18
MethodRoundTrip
(req *http.Request)
pkg/cmd/issue/edit/edit_test.go:1815
MethodRoundTrip
(req *http.Request)
pkg/cmd/api/http_test.go:84
MethodRoundTrip
(req *http.Request)
pkg/cmd/send-telemetry/send_telemetry.go:117
MethodRoundTrip
(req *http.Request)
pkg/cmd/workflow/shared/shared_test.go:172
MethodRoundTrip
RoundTrip satisfies http.RoundTripper
pkg/httpmock/registry.go:83
MethodRoundTrip
(req *http.Request)
internal/authflow/flow_test.go:42
MethodRoundTrip
(req *http.Request)
internal/authflow/refresh_test.go:26
MethodRoundTrip
(req *http.Request)
api/http_client.go:346
MethodRoundTrip
(req *http.Request)
api/client_test.go:426
MethodRoundTrip
(req *http.Request)
acceptance/fixture_repository_test.go:89
MethodRun
()
test/helpers.go:36
MethodRun
()
internal/run/run.go:51
MethodRun
()
internal/prompter/multi_select_with_search.go:400
MethodRunAccessible
(w io.Writer, r io.Reader)
internal/prompter/multi_select_with_search.go:401
MethodRunWithProgress
(label string, run func() error)
pkg/iostreams/iostreams.go:374
MethodSearch
Search calls SearchFunc.
pkg/cmd/discussion/client/client_mock.go:680
MethodSearch
(repo ghrepo.Interface, filters SearchFilters, after string, limit int)
pkg/cmd/discussion/client/client.go:287
MethodSearchCalls
SearchCalls gets all the calls that were made to Search. Check the length with: len(mockedDiscussionClient.SearchCalls())
pkg/cmd/discussion/client/client_mock.go:705
MethodSearchFeatures
()
internal/featuredetection/feature_detection.go:438
MethodSearchFeatures
()
internal/featuredetection/detector_mock.go:27
MethodSearchFeatures
()
internal/featuredetection/detector_mock.go:69
MethodSearchFeatures
()
internal/featuredetection/detector_mock.go:98
MethodSelect
(string, string, []string)
pkg/cmd/release/create/create.go:26
MethodSelect
(string, string, []string)
pkg/cmd/auth/shared/prompt.go:4
MethodSelect
(string, string, []string)
pkg/cmd/project/shared/queries/queries.go:60
MethodSelect
(string, string, []string)
pkg/cmd/issue/lock/lock.go:32
MethodSelect
(string, string, []string)
pkg/cmd/repo/setdefault/setdefault.go:38
MethodSelect
(string, string, []string)
pkg/cmd/repo/create/create.go:35
MethodSelect
(string, string, []string)
pkg/cmd/repo/edit/edit.go:31
MethodSelect
(string, string, []string)
pkg/cmd/run/list/list.go:46
MethodSelect
(string, string, []string)
pkg/cmd/run/shared/shared.go:21
MethodSelect
(string, string, []string)
pkg/cmd/pr/shared/templates.go:125
MethodSelect
(string, string, []string)
pkg/cmd/workflow/disable/disable.go:29
MethodSelect
(string, string, []string)
pkg/cmd/workflow/view/view.go:42
MethodSelect
(string, string, []string)
pkg/cmd/workflow/enable/enable.go:29
MethodSelect
(string, string, []string)
pkg/cmd/workflow/shared/shared.go:30
MethodSelect
Select calls SelectFunc.
internal/prompter/prompter_mock.go:491
MethodSelect
(prompt, defaultValue string, options []string)
internal/prompter/huh_prompter.go:67
MethodSelect
(prompt, defaultValue string, options []string)
internal/prompter/prompter.go:116
MethodSelect
(prompt, defaultValue string, options []string)
internal/prompter/prompter.go:353
FunctionSemanticSearchSupported
()
internal/featuredetection/detector_mock.go:120
FunctionSemanticSearchUnsupported
()
internal/featuredetection/detector_mock.go:126
MethodServeHTTP
(resp http.ResponseWriter, req *http.Request)
internal/barista/observability/telemetry.twirp.go:289
MethodServerURL
ServerURL calls ServerURLFunc.
pkg/cmd/codespace/mock_api.go:896
MethodServerURL
ServerURL returns the server url (not the API url), such as https://github.com
internal/codespaces/api/api.go:113
MethodServerURLCalls
ServerURLCalls gets all the calls that were made to ServerURL. Check the length with: len(mockedapiClient.ServerURLCalls())
pkg/cmd/codespace/mock_api.go:912
MethodServiceDescriptor
()
internal/barista/observability/telemetry.twirp.go:512
MethodServiceDescriptor
ServiceDescriptor returns gzipped bytes describing the .proto file that this service was generated from. Once unzipped, the bytes can be unmarshalled
internal/barista/observability/telemetry.twirp.go:558
FunctionSessionStateString
SessionStateString returns the humane/capitalised form of the given session state.
pkg/cmd/agent-task/shared/display.go:28
FunctionSessionSymbol
(cs *iostreams.ColorScheme, state string)
pkg/cmd/agent-task/shared/display.go:53
MethodSet
(v string)
script/ghmock/run.go:77
← previousnext →5,001–5,100 of 7,572, ranked by callers