MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

MethodString
()
pkg/cmd/gpg-key/list/http.go:21
MethodString
()
pkg/cmd/event/listen/listen.go:194
MethodString
A QualifiedHeadRef without an owner returns <branch>, while a QualifiedHeadRef with an owner returns <owner>:<branch>.
pkg/cmd/pr/shared/find_refs_resolution.go:70
MethodString
()
pkg/cmd/codespace/create.go:40
MethodString
String implements the [fmt.Stringer] interface.
pkg/option/option.go:59
MethodString
()
internal/codespaces/states.go:20
MethodString
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:38
MethodString
()
internal/codespaces/rpc/jupyter/jupyter_server_host_service.v1.pb.go:81
MethodString
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:40
MethodString
()
internal/codespaces/rpc/ssh/ssh_server_host_service.v1.pb.go:90
MethodString
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:41
MethodString
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:96
MethodString
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:150
MethodString
()
internal/codespaces/rpc/codespace/codespace_host_service.v1.pb.go:197
MethodString
()
internal/barista/observability/telemetry.pb.go:46
MethodString
()
internal/barista/observability/telemetry.pb.go:113
MethodString
()
internal/barista/observability/telemetry.pb.go:157
MethodSwap
(i, j int)
git/objects.go:12
MethodSwap
(i, j int)
context/remote.go:75
MethodSwap
(i, j int)
pkg/cmd/status/status.go:163
MethodSwap
(i, j int)
pkg/cmd/run/shared/shared.go:249
MethodSwitchUser
(hostname, user string)
internal/config/config.go:567
MethodTelemetry
Telemetry calls TelemetryFunc.
internal/gh/mock/config.go:891
MethodTelemetryCalls
TelemetryCalls gets all the calls that were made to Telemetry. Check the length with: len(mockedConfig.TelemetryCalls())
internal/gh/mock/config.go:907
FunctionTestAPIHostForHost
(t *testing.T)
internal/config/auth_config_test.go:1118
FunctionTestAPI_EditCodespace
(t *testing.T)
internal/codespaces/api/api_test.go:713
FunctionTestAPI_EditCodespacePendingOperation
(t *testing.T)
internal/codespaces/api/api_test.go:780
FunctionTestAbsoluteEmptyPathStringPanic
(t *testing.T)
internal/safepaths/absolute_test.go:23
FunctionTestAcceptance
(t *testing.T)
acceptance/acceptance_test.go:599
FunctionTestAcceptanceScriptsDeclareFixtureRepository
(t *testing.T)
acceptance/user_capability_test.go:168
FunctionTestAcceptanceScriptsDeclareUserCapabilityRequirement
(t *testing.T)
acceptance/user_capability_test.go:155
FunctionTestAccessControlEntriesToVisibility
(t *testing.T)
internal/codespaces/portforwarder/port_forwarder_test.go:49
FunctionTestAccessiblePrompter
The following tests are broadly testing the accessible prompter, and NOT asserting on the prompter's complete and exact output strings. These tests g
internal/prompter/accessible_prompter_test.go:37
FunctionTestActionsFeatures
(t *testing.T)
internal/featuredetection/feature_detection_test.go:777
FunctionTestActivateUserResolvesRefreshableCredential
(t *testing.T)
internal/config/refreshable_test.go:311
FunctionTestActiveTokenPrefersPerUserConfigTokenOverUnkeyedKeyring
TestActiveTokenPrefersPerUserConfigTokenOverUnkeyedKeyring pins an intentional behavior change introduced with the refreshable-credential groundwork.
internal/config/auth_config_test.go:838
FunctionTestActiveTokenType
(t *testing.T)
internal/config/auth_config_test.go:998
FunctionTestActiveTokenWithRefresh
(t *testing.T)
internal/config/refreshable_test.go:870
FunctionTestActorDisplayName
(t *testing.T)
api/queries_repo_test.go:826
FunctionTestAddAuthTokenHeaderLegacyConfig
(t *testing.T)
api/http_client_test.go:281
FunctionTestAddComment
(t *testing.T)
pkg/cmd/discussion/client/client_test.go:3416
FunctionTestAddFlag
(t *testing.T)
internal/attachments/flags_test.go:49
FunctionTestAddFormatFlags
(t *testing.T)
pkg/cmdutil/json_flags_test.go:209
FunctionTestAddJSONFlags
(t *testing.T)
pkg/cmdutil/json_flags_test.go:17
FunctionTestAddJSONFlagsSetsAnnotations
TestAddJSONFlagsSetsAnnotations asserts that `AddJSONFlags` function adds the appropriate annotation to the command, which could later be used by doc
pkg/cmdutil/json_flags_test.go:163
FunctionTestAddJSONFlagsWithoutShorthand
(t *testing.T)
pkg/cmdutil/json_flags_test.go:122
FunctionTestAdvancedIssueSearchString
(t *testing.T)
pkg/search/query_test.go:110
FunctionTestAdvancedIssueSearchSupport
(t *testing.T)
internal/featuredetection/feature_detection_test.go:444
FunctionTestAliasAreSet
(t *testing.T)
pkg/cmd/agent-task/agent_task_test.go:155
FunctionTestAliasList
(t *testing.T)
pkg/cmd/alias/list/list_test.go:17
FunctionTestAlreadyRebuildingCodespace
(t *testing.T)
pkg/cmd/codespace/rebuild_test.go:11
FunctionTestApiActorsSupported
(t *testing.T)
pkg/cmd/issue/edit/edit_test.go:2126
FunctionTestApiLogFetcher
(t *testing.T)
pkg/cmd/run/view/logs_test.go:37
FunctionTestApp_Create
(t *testing.T)
pkg/cmd/codespace/create_test.go:64
FunctionTestApp_List
(t *testing.T)
pkg/cmd/codespace/list_test.go:71
FunctionTestApp_Select
(t *testing.T)
pkg/cmd/codespace/select_test.go:16
FunctionTestApp_StopCodespace
(t *testing.T)
pkg/cmd/codespace/stop_test.go:13
FunctionTestApp_VSCode
(t *testing.T)
pkg/cmd/codespace/code_test.go:12
FunctionTestAppendParagraph
(t *testing.T)
internal/attachments/attach_test.go:542
FunctionTestApplySet
(t *testing.T)
script/ghmock/set_test.go:189
FunctionTestAreFlagsValid
(t *testing.T)
pkg/cmd/attestation/verify/options_test.go:25
FunctionTestAreFlagsValid
(t *testing.T)
pkg/cmd/attestation/download/options_test.go:10
FunctionTestArtifactDigestWithAlgorithm
(t *testing.T)
pkg/cmd/attestation/artifact/digest/digest_test.go:11
FunctionTestArtifactExportData
(t *testing.T)
pkg/cmd/issue/artifact/client/types_test.go:12
FunctionTestArtifactWithVersionsExportData
(t *testing.T)
pkg/cmd/issue/artifact/client/types_test.go:90
FunctionTestAssetMarkdown
(t *testing.T)
internal/attachments/userasset_test.go:271
FunctionTestAssetRendersAsPlayer
(t *testing.T)
internal/attachments/userasset_test.go:333
FunctionTestAttachAssetsToMarkdown
(t *testing.T)
internal/attachments/references_test.go:25
FunctionTestAttachAssetsToMarkdownFixture
One markdown document covering every syntax this package handles, so the behaviour can be read as markdown rather than as Go string literals. Run wit
internal/attachments/references_fixture_test.go:47
FunctionTestAttachmentTelemetry
(t *testing.T)
internal/attachments/flags_test.go:100
FunctionTestAuthResultFromToken
(t *testing.T)
internal/authflow/refresh_test.go:129
FunctionTestAuthTelemetryEvent_nilIsNoOp
(t *testing.T)
pkg/cmd/auth/shared/telemetry_test.go:89
FunctionTestAuthTelemetryEvent_recordGitProtocolUnset
(t *testing.T)
pkg/cmd/auth/shared/telemetry_test.go:73
FunctionTestAuthTelemetryEvent_recordStorageKeyring
(t *testing.T)
pkg/cmd/auth/shared/telemetry_test.go:81
FunctionTestAuthTelemetryEvent_records
(t *testing.T)
pkg/cmd/auth/shared/telemetry_test.go:49
FunctionTestAuthenticatingGitCredentials
(t *testing.T)
pkg/cmd/auth/shared/login_flow_test.go:593
FunctionTestAutolinkCreator_Create
(t *testing.T)
pkg/cmd/repo/autolink/create/http_test.go:17
FunctionTestAutolinkDeleter_Delete
(t *testing.T)
pkg/cmd/repo/autolink/delete/http_test.go:16
FunctionTestAutolinkLister_List
(t *testing.T)
pkg/cmd/repo/autolink/list/http_test.go:16
FunctionTestAutolinkViewer_View
(t *testing.T)
pkg/cmd/repo/autolink/view/http_test.go:16
FunctionTestBaseRepoQuerySelections
TestBaseRepoQuerySelections guards fields that must be explicitly requested. A field left out of a query is silently zero rather than an error, so the
api/queries_repo_test.go:146
FunctionTestBeginAuthTelemetry_gating
(t *testing.T)
pkg/cmd/auth/shared/telemetry_test.go:13
FunctionTestBinaryContentType
(t *testing.T)
pkg/iostreams/content_test.go:14
FunctionTestBranchDeleteRemote
(t *testing.T)
api/queries_pr_test.go:15
FunctionTestBrowseModelClearsTransientStatusOnNextInteraction
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:617
FunctionTestBrowseModelDoesNotQuitWhileInstallIsRunning
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:709
FunctionTestBrowseModelDoesNotReloadReadmeWhenFilteringKeepsSelection
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:267
FunctionTestBrowseModelDoesNotStartDuplicateInstall
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:686
FunctionTestBrowseModelFiltersExtensions
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:199
FunctionTestBrowseModelFiltersExtensionsByDisplayedStatus
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:220
FunctionTestBrowseModelForwardsCursorMessagesWhileFiltering
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:641
FunctionTestBrowseModelIgnoresStaleReadmeResult
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:401
FunctionTestBrowseModelInstallsSelectedExtension
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:656
FunctionTestBrowseModelKeepsDescriptionsReadableWithColorEnabled
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:178
FunctionTestBrowseModelKeepsExtensionInstalledWhenRemovalFails
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:852
FunctionTestBrowseModelKeepsExtensionUninstalledWhenInstallationFails
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:786
FunctionTestBrowseModelKeepsFooterWithinTerminalWidth
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:126
FunctionTestBrowseModelKeepsMainViewWithinTerminalHeight
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:75
FunctionTestBrowseModelLoadsReadmeForFilteredSelection
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:300
FunctionTestBrowseModelMovesSelectionDown
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:19
← previousnext →5,101–5,200 of 7,487, ranked by callers