MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

MethodError
()
internal/safepaths/absolute.go:72
MethodError
()
internal/attachments/attach.go:60
MethodError
()
internal/keyring/keyring.go:17
MethodError
()
internal/skills/discovery/discovery.go:36
MethodError
()
internal/run/stub.go:114
MethodError
for github.com/pkg/errors
internal/barista/observability/telemetry.twirp.go:883
MethodErrorf
(string, ...any)
test/helpers.go:45
MethodEventsFeatures
EventsFeatures checks whether event subscriptions are enabled for the authenticated account. Only github.com is supported, so GitHub Enterprise Server
internal/featuredetection/feature_detection.go:631
MethodEventsFeatures
()
internal/featuredetection/detector_mock.go:43
MethodEventsFeatures
()
internal/featuredetection/detector_mock.go:89
FunctionExampleMap
()
pkg/option/option_test.go:102
FunctionExampleOption_Expect
()
pkg/option/option_test.go:96
FunctionExampleOption_IsNone
()
pkg/option/option_test.go:77
FunctionExampleOption_IsSome
()
pkg/option/option_test.go:68
FunctionExampleOption_Unwrap
()
pkg/option/option_test.go:32
FunctionExampleOption_UnwrapOr
()
pkg/option/option_test.go:37
FunctionExampleOption_UnwrapOrElse
()
pkg/option/option_test.go:45
FunctionExampleOption_UnwrapOrZero
()
pkg/option/option_test.go:59
FunctionExampleOption_Value
()
pkg/option/option_test.go:86
MethodExecutable
()
pkg/cmd/codespace/root.go:14
MethodExitCode
()
internal/run/stub.go:118
MethodExpectFields
(fields []string)
pkg/cmd/pr/shared/lister.go:179
MethodExpiringCredentials
ExpiringCredentials calls ExpiringCredentialsFunc.
internal/gh/mock/config.go:771
MethodExpiringCredentialsCalls
ExpiringCredentialsCalls gets all the calls that were made to ExpiringCredentials. Check the length with: len(mockedConfig.ExpiringCredentialsCalls(
internal/gh/mock/config.go:758
MethodExport
Export returns the author as a map for JSON output.
pkg/cmd/discussion/client/types.go:129
MethodExport
Export returns the category as a map for JSON output.
pkg/cmd/discussion/client/types.go:147
MethodExport
Export returns the label as a map for JSON output.
pkg/cmd/discussion/client/types.go:165
MethodExport
Export returns the comment as a map for JSON output.
pkg/cmd/discussion/client/types.go:188
MethodExportData
([]string)
pkg/cmdutil/json_flags.go:293
MethodExportData
(fields []string)
pkg/cmdutil/json_flags_test.go:396
MethodExportData
()
pkg/search/result.go:267
MethodExportData
(fields []string)
pkg/search/result.go:282
MethodExportData
(fields []string)
pkg/search/result.go:301
MethodExportData
(fields []string)
pkg/search/result.go:305
MethodExportData
(fields []string)
pkg/search/result.go:360
MethodExportData
(fields []string)
pkg/search/result.go:405
MethodExportData
ExportData returns a map of the requested fields for JSON output. Because domain types carry no JSON struct tags, each field is mapped explicitly rath
pkg/cmd/discussion/client/types.go:34
MethodExportData
ExportData returns a map suitable for JSON output, including pagination fields only when they are non-empty.
pkg/cmd/discussion/client/types.go:301
MethodExportData
(fields []string)
pkg/cmd/release/list/http.go:37
MethodExportData
(fields []string)
pkg/cmd/release/shared/fetch.go:87
MethodExportData
(fields []string)
pkg/cmd/auth/status/status.go:68
MethodExportData
ExportData implements the exportable interface for JSON output.
pkg/cmd/agent-task/capi/sessions.go:119
MethodExportData
(_ []string)
pkg/cmd/project/shared/queries/queries.go:302
MethodExportData
(_ []string)
pkg/cmd/project/shared/queries/queries.go:537
MethodExportData
(_ []string)
pkg/cmd/project/shared/queries/queries.go:558
MethodExportData
(_ []string)
pkg/cmd/project/shared/queries/queries.go:1023
MethodExportData
(_ []string)
pkg/cmd/project/shared/queries/queries.go:1067
MethodExportData
(fields []string)
pkg/cmd/label/shared.go:31
MethodExportData
ExportData returns the requested fields for --json output. Fields the API returned as null stay null.
pkg/cmd/issue/artifact/client/types.go:104
MethodExportData
ExportData returns the requested fields for --json output, where versions is the edit history, newest first. Fields the API returned as null stay null
pkg/cmd/issue/artifact/client/types.go:140
MethodExportData
ExportData implements the cmdutil exportable interface for a single entry.
pkg/cmd/repo/read-dir/http.go:63
MethodExportData
ExportData implements the cmdutil exportable interface for the directory. gitSHA and id are structural and always present; the requested fields selec
pkg/cmd/repo/read-dir/http.go:106
MethodExportData
(fields []string)
pkg/cmd/repo/autolink/shared/autolink.go:19
MethodExportData
(fields []string)
pkg/cmd/variable/shared/shared.go:48
MethodExportData
ExportData implements cmdutil.exportable for --json output.
pkg/cmd/skills/search/search.go:186
MethodExportData
ExportData implements cmdutil.exportable for --json output.
pkg/cmd/skills/list/list.go:85
MethodExportData
(fields []string)
pkg/cmd/secret/list/list.go:231
MethodExportData
(fields []string)
pkg/cmd/run/shared/shared.go:164
MethodExportData
ExportData returns the selected fields of the subscription for --json output.
pkg/cmd/event/client/types.go:33
MethodExportData
(fields []string)
pkg/cmd/pr/checks/aggregate.go:32
MethodExportData
(fields []string)
pkg/cmd/codespace/ports.go:155
MethodExportData
(fields []string)
pkg/cmd/workflow/shared/shared.go:54
MethodExportData
(fields []string)
api/export_repo.go:7
MethodExternalHTTPClient
()
pkg/cmd/codespace/common.go:86
MethodExternalHTTPClient
ExternalHTTPClient calls ExternalHTTPClientFunc.
pkg/cmd/codespace/mock_api.go:429
MethodExternalHTTPClient
()
internal/codespaces/codespaces_test.go:243
MethodExternalHTTPClient
ExternalHTTPClient returns an HTTP client for requests to non-GitHub hosts. It must not carry GitHub authentication credentials.
internal/codespaces/api/api.go:1315
MethodExternalHTTPClientCalls
ExternalHTTPClientCalls gets all the calls that were made to ExternalHTTPClient. Check the length with: len(mockedapiClient.ExternalHTTPClientCalls(
pkg/cmd/codespace/mock_api.go:445
MethodFd
()
pkg/iostreams/iostreams.go:40
MethodFd
()
pkg/iostreams/iostreams.go:634
MethodFd
()
pkg/iostreams/iostreams.go:644
MethodFd
()
pkg/iostreams/iostreams.go:654
MethodFetch
(string, string)
pkg/cmd/repo/sync/git.go:14
MethodFetch
(remote, ref string)
pkg/cmd/repo/sync/git.go:63
MethodFetch
(a, b string)
pkg/cmd/repo/sync/mocks.go:32
MethodFetch
(remote string, refspec string)
pkg/cmd/extension/git.go:44
MethodFetch
(remote string, refspec string)
pkg/cmd/extension/mocks.go:32
MethodFields
()
pkg/cmdutil/json_flags.go:214
MethodFields
()
pkg/cmd/cache/list/list_test.go:356
MethodFields
()
pkg/cmd/repo/view/view_test.go:746
MethodFields
()
pkg/cmd/run/shared/test.go:286
MethodFieldsToEdit
(e *shared.Editable)
pkg/cmd/pr/edit/edit_test.go:1950
MethodFieldsToEdit
(editable *shared.Editable)
pkg/cmd/pr/edit/edit.go:594
FunctionFind
()
pkg/findsh/find_windows.go:10
MethodFind
(opts FindOptions)
pkg/cmd/pr/shared/finder.go:644
MethodFind
(opts shared.FindOptions)
pkg/cmd/pr/edit/edit_test.go:1723
MethodFinish
Finish snapshots the recorded events once and sends their payload after releasing the lock. Sampling and telemetry eligibility apply to immediate and
internal/telemetry/telemetry.go:321
MethodFollow
Follow continuously fetches logs using the provided fetcher function and renders them to the provided writer. It stops when Render indicates to stop.
pkg/cmd/agent-task/shared/log.go:31
MethodFollow
Follow calls FollowFunc.
pkg/cmd/agent-task/shared/log_mock.go:67
MethodFollowCalls
FollowCalls gets all the calls that were made to Follow. Check the length with: len(mockedLogRenderer.FollowCalls())
pkg/cmd/agent-task/shared/log_mock.go:90
MethodForRepo
(repoDir string)
pkg/cmd/extension/git.go:48
MethodForRepo
(repoDir string)
pkg/cmd/extension/mocks.go:37
FunctionFormat
(version, buildDate string)
pkg/cmd/version/version.go:28
MethodForwardPort
(ctx context.Context, port uint16)
internal/codespaces/connection/tunnels_api_server_mock.go:298
MethodForwardPortToListener
ForwardPortToListener forwards the specified port to the given TCP listener.
internal/codespaces/portforwarder/port_forwarder.go:64
MethodGet
Get calls GetFunc.
pkg/cmd/issue/artifact/client/client_mock.go:240
MethodGet
(repo ghrepo.Interface, issueNumber int, number int)
pkg/cmd/issue/artifact/client/client.go:127
MethodGet
(url string)
pkg/cmd/attestation/api/mock_httpClient_test.go:19
MethodGet
(url string)
pkg/cmd/attestation/api/mock_httpClient_test.go:35
MethodGet
(url string)
pkg/cmd/attestation/api/mock_httpClient_test.go:51
← previousnext →4,401–4,500 of 7,572, ranked by callers