MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

FunctionTestReadEventsSanitizesEachFrame
(t *testing.T)
pkg/cmd/event/listen/listen_test.go:681
FunctionTestReadEventsSanitizesEndFrame
(t *testing.T)
pkg/cmd/event/listen/listen_test.go:696
FunctionTestReadEventsSkipsInvalidJSON
(t *testing.T)
pkg/cmd/event/listen/listen_test.go:638
FunctionTestReadMarkdownBodyFile
(t *testing.T)
pkg/cmdutil/file_input_test.go:28
FunctionTestReasons
(t *testing.T)
pkg/cmd/issue/lock/lock_test.go:734
FunctionTestRebuildContainerFailure
Test that the RPC invoker throws an error when the rebuild fails
internal/codespaces/rpc/invoker_test.go:226
FunctionTestRebuildContainerFull
Test that the RPC invoker doesn't throw an error when requesting a full rebuild
internal/codespaces/rpc/invoker_test.go:201
FunctionTestRebuildContainerIncremental
Test that the RPC invoker doesn't throw an error when requesting an incremental rebuild
internal/codespaces/rpc/invoker_test.go:176
FunctionTestRecordInstall
(t *testing.T)
internal/skills/lockfile/lockfile_test.go:23
FunctionTestRecordTelemetry
(t *testing.T)
pkg/cmdutil/telemetry_test.go:16
FunctionTestRecordTelemetryForSubcommands
(t *testing.T)
pkg/cmdutil/telemetry_test.go:238
FunctionTestRedirectTargetClassificationError
(t *testing.T)
internal/safepaths/root_validation_test.go:58
FunctionTestRefreshTelemetry
(t *testing.T)
internal/config/refreshable_telemetry_test.go:52
FunctionTestRefreshTelemetryNotRecorded
(t *testing.T)
internal/config/refreshable_telemetry_test.go:453
FunctionTestRefreshTelemetryRecordsUnfinishedAttempts
(t *testing.T)
internal/config/refreshable_telemetry_test.go:418
FunctionTestRefreshTelemetryReportsCommand
(t *testing.T)
internal/config/refreshable_telemetry_test.go:389
FunctionTestRefreshTelemetryReportsDirectoryOverrides
(t *testing.T)
internal/config/refreshable_telemetry_test.go:369
FunctionTestRefreshableForUser
(t *testing.T)
internal/config/refreshable_test.go:37
FunctionTestRegisterFixtureRepositoryCleanup
(t *testing.T)
acceptance/fixture_repository_test.go:244
FunctionTestRejectExisting
(t *testing.T)
pkg/cmd/auth/shared/gitcredentials/updater_test.go:88
FunctionTestReleaseFeatures
(t *testing.T)
internal/featuredetection/feature_detection_test.go:668
FunctionTestRemoteGuessing
(t *testing.T)
pkg/cmd/pr/create/create_test.go:2640
FunctionTestRemoteTrackingRefString
(t *testing.T)
git/client_test.go:909
FunctionTestRemoveCopilot
(t *testing.T)
pkg/cmd/copilot/copilot_test.go:148
FunctionTestRemoveExcessiveWhitespace
(t *testing.T)
internal/text/text_test.go:12
FunctionTestRemoveRun
(t *testing.T)
pkg/cmd/variable/delete/delete_test.go:89
FunctionTestRenameRun
(t *testing.T)
pkg/cmd/gist/rename/rename_test.go:90
FunctionTestRenameRun
(t *testing.T)
pkg/cmd/repo/rename/rename_test.go:107
FunctionTestRenderEscapesToolCallArguments
(t *testing.T)
pkg/cmd/agent-task/shared/log_test.go:99
FunctionTestRenderJobs
(t *testing.T)
pkg/cmd/run/shared/presentation_test.go:13
FunctionTestRenderTableEscapesDescriptionControlCharacters
(t *testing.T)
pkg/cmd/skills/search/search_test.go:721
FunctionTestRenderTableUsesAgentHeader
(t *testing.T)
pkg/cmd/skills/list/list_test.go:491
FunctionTestReparsePointClassification
(t *testing.T)
internal/safepaths/link_windows_test.go:17
FunctionTestRepoExists
(t *testing.T)
pkg/cmd/extension/http_test.go:41
FunctionTestRepoExists
(t *testing.T)
api/queries_repo_test.go:851
FunctionTestRepoFork
(t *testing.T)
pkg/cmd/repo/fork/fork_test.go:197
FunctionTestRepoKeysHTTPError
(t *testing.T)
pkg/cmd/repo/deploy-key/list/list_test.go:138
FunctionTestRepoList_filtering
(t *testing.T)
pkg/cmd/repo/list/list_test.go:469
FunctionTestRepoList_invalidOwner
(t *testing.T)
pkg/cmd/repo/list/list_test.go:531
FunctionTestRepoList_noVisibilityField
(t *testing.T)
pkg/cmd/repo/list/list_test.go:490
FunctionTestRepoList_nontty
(t *testing.T)
pkg/cmd/repo/list/list_test.go:383
FunctionTestRepoList_tty
(t *testing.T)
pkg/cmd/repo/list/list_test.go:424
FunctionTestRepoNameFromRemote
(t *testing.T)
internal/skills/registry/registry_test.go:306
FunctionTestRepoNetworkUnmarshalsDatabaseID
(t *testing.T)
api/queries_repo_test.go:204
FunctionTestRepoPartsFromNWO
(t *testing.T)
internal/safeurl/safeurl_test.go:13
FunctionTestReposRun
(t *testing.T)
pkg/cmd/search/repos/repos_test.go:151
FunctionTestRepositoryCreationIsManaged
(t *testing.T)
acceptance/acceptance_test.go:261
FunctionTestRepositoryExportData
(t *testing.T)
pkg/search/result_test.go:97
FunctionTestRepositoryFeatures
(t *testing.T)
internal/featuredetection/feature_detection_test.go:272
FunctionTestRequestDoesNotDecodeSuccessfulResponses
REST treats 204 and 205 specially and decodes every other 2xx as JSON. Request must do neither, so that bodiless successes and non-JSON successes both
api/request_test.go:141
FunctionTestRequestError
(t *testing.T)
api/request_test.go:169
FunctionTestRequestErrorPreservesScopesSuggestion
(t *testing.T)
api/request_test.go:186
FunctionTestRequestExplicitAuthorizationHeaderIsPreserved
Pre-auth call sites supply their own token because it is not yet in config, so an explicit Authorization header must survive rather than be replaced b
api/request_test.go:104
FunctionTestRequestHeaderOverridesTransportDefault
The transport supplies default headers of its own, so a per-request header is only useful if it takes precedence over them.
api/request_test.go:87
FunctionTestRequestHeadersAgainstRealTransport
The transport built by NewHTTPClient supplies default Accept, Content-Type and User-Agent headers. Per-request headers are only useful if they win aga
api/request_test.go:349
FunctionTestRequestName
(t *testing.T)
script/ghmock/request_test.go:11
FunctionTestRequestResolvesPathAgainstHost
(t *testing.T)
api/request_test.go:19
FunctionTestRequestReturnsBodyUnread
(t *testing.T)
api/request_test.go:123
FunctionTestRequestWithContextPropagatesContext
Call sites such as release asset upload run inside a retry loop that owns a context, so the context has to reach the outgoing request.
api/request_test.go:280
FunctionTestRequestWithEndpointScopes
Call sites used to mutate the response with EndpointNeedsScopes before converting it to an error. Request converts internally, so WithEndpointScopes h
api/request_test.go:213
FunctionTestRequestWithHeader
(t *testing.T)
api/request_test.go:70
FunctionTestRequestableReviewersForCompletion
(t *testing.T)
pkg/cmd/pr/shared/completion_test.go:12
FunctionTestRequireNoAmbiguityBaseRepoFunc
(t *testing.T)
pkg/cmd/secret/shared/base_repo_test.go:17
FunctionTestRequiresUserCapabilityForScript
(t *testing.T)
acceptance/user_capability_test.go:180
FunctionTestRerun
(t *testing.T)
pkg/cmd/run/rerun/rerun_test.go:166
FunctionTestResolveCapiURL
(t *testing.T)
pkg/cmd/agent-task/shared/capi_test.go:16
FunctionTestResolveCommentNodeID
(t *testing.T)
pkg/cmd/discussion/client/client_test.go:3787
FunctionTestResolveFieldByID
(t *testing.T)
pkg/cmd/project/shared/queries/resolve_fields_test.go:75
FunctionTestResolveFieldByName
(t *testing.T)
pkg/cmd/project/shared/queries/resolve_fields_test.go:31
FunctionTestResolveGitRoot
(t *testing.T)
internal/skills/installer/installer_test.go:488
FunctionTestResolveLabels
(t *testing.T)
pkg/cmd/discussion/shared/labels_test.go:11
FunctionTestResolveRef
(t *testing.T)
internal/skills/discovery/discovery_test.go:420
FunctionTestResolveSingleSelectOptionID
(t *testing.T)
pkg/cmd/project/shared/queries/resolve_test.go:12
FunctionTestResolveWorkflowRunIDFallsBackToPolling
(t *testing.T)
acceptance/acceptance_test.go:367
FunctionTestResolveWorkflowRunIDUsesDispatchOutput
(t *testing.T)
acceptance/acceptance_test.go:351
FunctionTestResolveWorktreeTarget
(t *testing.T)
pkg/cmd/pr/shared/worktree_test.go:14
FunctionTestResolveWorktreeTargetPathSafety
(t *testing.T)
pkg/cmd/pr/shared/worktree_test.go:108
FunctionTestResultingHelperCategory_detectionErrorWithoutSetup
(t *testing.T)
pkg/cmd/auth/shared/git_credential_test.go:356
FunctionTestRetries
(t *testing.T)
internal/codespaces/api/api_test.go:537
FunctionTestRetryAfter
(t *testing.T)
pkg/cmd/event/listen/listen_test.go:722
FunctionTestRetryAfterFutureDate
(t *testing.T)
pkg/cmd/event/listen/listen_test.go:762
FunctionTestRevokeToken
(t *testing.T)
internal/authflow/revoke_test.go:29
FunctionTestRootCreate
(t *testing.T)
internal/safepaths/root_test.go:14
FunctionTestRootCreateRejectsWindowsTrailingSeparator
(t *testing.T)
internal/safepaths/link_windows_test.go:136
FunctionTestRootRejectsDirectorySwapDuringOpen
(t *testing.T)
internal/safepaths/root_race_test.go:12
FunctionTestRootRejectsJunction
(t *testing.T)
internal/safepaths/link_windows_test.go:89
FunctionTestRun
(t *testing.T)
pkg/cmd/workflow/run/run_test.go:321
FunctionTestRunAddItem_JSON
(t *testing.T)
pkg/cmd/project/item-add/item_add_test.go:448
FunctionTestRunAddItem_Me
(t *testing.T)
pkg/cmd/project/item-add/item_add_test.go:347
FunctionTestRunAddItem_Org
(t *testing.T)
pkg/cmd/project/item-add/item_add_test.go:236
FunctionTestRunAddItem_User
(t *testing.T)
pkg/cmd/project/item-add/item_add_test.go:192
FunctionTestRunAll
(t *testing.T)
script/ghmock/run_test.go:409
FunctionTestRunArchive_JSON
(t *testing.T)
pkg/cmd/project/item-archive/item_archive_test.go:640
FunctionTestRunArchive_Me
(t *testing.T)
pkg/cmd/project/item-archive/item_archive_test.go:295
FunctionTestRunArchive_Me_Undo
(t *testing.T)
pkg/cmd/project/item-archive/item_archive_test.go:559
FunctionTestRunArchive_Org
(t *testing.T)
pkg/cmd/project/item-archive/item_archive_test.go:204
FunctionTestRunArchive_Org_Undo
(t *testing.T)
pkg/cmd/project/item-archive/item_archive_test.go:467
FunctionTestRunArchive_User
(t *testing.T)
pkg/cmd/project/item-archive/item_archive_test.go:112
FunctionTestRunArchive_User_Undo
(t *testing.T)
pkg/cmd/project/item-archive/item_archive_test.go:376
FunctionTestRunCancel
(t *testing.T)
pkg/cmd/run/cancel/cancel_test.go:95
← previousnext →6,501–6,600 of 7,572, ranked by callers