MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

FunctionTestStartJupyterServerSuccess
Test that the RPC invoker returns the correct port and URL when the JupyterLab server starts successfully
internal/codespaces/rpc/invoker_test.go:107
FunctionTestStartProgressIndicatorWithLabel
(t *testing.T)
pkg/iostreams/iostreams_progress_indicator_test.go:19
FunctionTestStartSSHServerFailure
Test that the RPC invoker returns an error when the SSH server fails to start
internal/codespaces/rpc/invoker_test.go:284
FunctionTestStartSSHServerSuccess
Test that the RPC invoker returns the correct port and user when the SSH server starts successfully
internal/codespaces/rpc/invoker_test.go:250
FunctionTestStatusRun
(t *testing.T)
pkg/cmd/status/status_test.go:87
FunctionTestStopAlternateScreenBuffer
(t *testing.T)
pkg/iostreams/iostreams_test.go:10
FunctionTestStripControl_dropsC0KeepsWhitespace
(t *testing.T)
pkg/iostreams/untrusted_test.go:49
FunctionTestStructExportData
(t *testing.T)
pkg/cmdutil/json_flags_test.go:404
FunctionTestSubscriptionResponseBody
(t *testing.T)
pkg/cmd/event/client/client_test.go:392
FunctionTestSuggestedReviewerActors
(t *testing.T)
api/queries_pr_test.go:176
FunctionTestSuggestedReviewerActorsForRepo
(t *testing.T)
api/queries_pr_test.go:419
FunctionTestSupportsAttachments
(t *testing.T)
pkg/cmd/issue/artifact/shared/shared_test.go:922
FunctionTestSurveyPrompter
(t *testing.T)
internal/prompter/accessible_prompter_test.go:812
FunctionTestSwapDirectoryContents_PreservesDestInode
The skill directory's own inode must survive an update so symlinks, bind mounts, and other external references pointing at it remain valid. Per-entry
pkg/cmd/skills/update/update_test.go:1634
FunctionTestSwapDirectoryContents_RollsBackOnFailure
If the staged contents cannot be installed after the existing entries have already been moved aside, the original skill directory must be restored byt
pkg/cmd/skills/update/update_test.go:1583
FunctionTestSwitchClearsActiveInsecureTokenWhenSwitchingToSecureUser
(t *testing.T)
internal/config/auth_config_test.go:606
FunctionTestSwitchClearsActiveSecureTokenWhenSwitchingToInsecureUser
(t *testing.T)
internal/config/auth_config_test.go:590
FunctionTestSwitchRun
(t *testing.T)
pkg/cmd/auth/switch/switch_test.go:86
FunctionTestSwitchUserActivatesRefreshableCredential
(t *testing.T)
internal/config/refreshable_test.go:661
FunctionTestSwitchUserErrorsAndRestoresUserAndInsecureConfigUnderFailure
(t *testing.T)
internal/config/auth_config_test.go:536
FunctionTestSwitchUserErrorsAndRestoresUserAndKeyringUnderFailure
(t *testing.T)
internal/config/auth_config_test.go:563
FunctionTestSwitchUserErrorsImmediatelyIfTheActiveTokenComesFromEnvironment
(t *testing.T)
internal/config/auth_config_test.go:520
FunctionTestSwitchUserMakesInsecureTokenActive
(t *testing.T)
internal/config/auth_config_test.go:485
FunctionTestSwitchUserMakesSecureTokenActive
(t *testing.T)
internal/config/auth_config_test.go:468
FunctionTestSwitchUserUpdatesTheActiveUser
(t *testing.T)
internal/config/auth_config_test.go:503
FunctionTestTableHeader
(t *testing.T)
pkg/iostreams/color_test.go:78
FunctionTestTelemetry
(t *testing.T)
internal/config/config_test.go:189
FunctionTestTemplateManagerSelect
(t *testing.T)
pkg/cmd/pr/shared/templates_test.go:119
FunctionTestTemplateManager_hasAPI
(t *testing.T)
pkg/cmd/pr/shared/templates_test.go:16
FunctionTestTemplateManager_hasAPI_PullRequest
(t *testing.T)
pkg/cmd/pr/shared/templates_test.go:68
FunctionTestTenantName
(t *testing.T)
internal/ghinstance/host_test.go:9
FunctionTestTitleSurvey
(t *testing.T)
pkg/cmd/pr/shared/survey_test.go:223
FunctionTestTitledEditSurvey_cleanupHint
(t *testing.T)
pkg/cmd/pr/shared/survey_test.go:188
FunctionTestToFilterState
(t *testing.T)
pkg/cmd/discussion/list/list_test.go:691
FunctionTestTokenForUserInsecureLogin
(t *testing.T)
internal/config/auth_config_test.go:662
FunctionTestTokenForUserNotFoundErrors
(t *testing.T)
internal/config/auth_config_test.go:677
FunctionTestTokenForUserResolution
(t *testing.T)
internal/config/refreshable_test.go:151
FunctionTestTokenForUserSecureLogin
(t *testing.T)
internal/config/auth_config_test.go:647
FunctionTestTokenForUserWithRefresh
(t *testing.T)
internal/config/refreshable_test.go:1352
FunctionTestTokenFromKeyring
(t *testing.T)
internal/config/auth_config_test.go:32
FunctionTestTokenFromKeyringForUser
(t *testing.T)
internal/config/auth_config_test.go:45
FunctionTestTokenFromKeyringForUserErrorsIfUsernameIsBlank
(t *testing.T)
internal/config/auth_config_test.go:58
FunctionTestTokenFromKeyringNonExistent
(t *testing.T)
internal/config/auth_config_test.go:140
FunctionTestTokenHasUserCapability
(t *testing.T)
acceptance/user_capability_test.go:131
FunctionTestTokenHasWorkflowScope
(t *testing.T)
pkg/cmd/release/create/http_test.go:110
FunctionTestTokenPrioritizesActiveUserToken
(t *testing.T)
internal/config/auth_config_test.go:792
FunctionTestTokenRefresherHttpClient
(t *testing.T)
pkg/cmd/factory/default_test.go:407
FunctionTestTokenRefresherRefresh
(t *testing.T)
internal/authflow/refresh_test.go:44
FunctionTestTokenRefresherRefreshNoExpiry
(t *testing.T)
internal/authflow/refresh_test.go:84
FunctionTestTokenRefresherRefreshOmittedRefreshToken
(t *testing.T)
internal/authflow/refresh_test.go:101
FunctionTestTokenRefresherRefreshRejected
(t *testing.T)
internal/authflow/refresh_test.go:115
FunctionTestTokenRun
(t *testing.T)
pkg/cmd/auth/token/token_test.go:106
FunctionTestTokenRunRefresh
(t *testing.T)
pkg/cmd/auth/token/token_test.go:559
FunctionTestTokenRunSecureStorage
(t *testing.T)
pkg/cmd/auth/token/token_test.go:254
FunctionTestTokenStoredInConfig
(t *testing.T)
internal/config/auth_config_test.go:92
FunctionTestTokenStoredInEnv
(t *testing.T)
internal/config/auth_config_test.go:109
FunctionTestTokenStoredInKeyring
(t *testing.T)
internal/config/auth_config_test.go:124
FunctionTestTokenWithActiveUserNotInKeyringFallsBackToBlank
(t *testing.T)
internal/config/auth_config_test.go:858
FunctionTestTokenWorksRightAfterMigration
(t *testing.T)
internal/config/auth_config_test.go:774
FunctionTestTryDetermineDefaultPRHead
(t *testing.T)
pkg/cmd/pr/shared/find_refs_resolution_test.go:255
FunctionTestTryLock
(t *testing.T)
internal/flock/flock_test.go:15
FunctionTestUnexpectedStatusError
(t *testing.T)
api/client_test.go:439
FunctionTestUniqueProjectDirs
(t *testing.T)
internal/skills/registry/registry_test.go:327
FunctionTestUnpinRun
(t *testing.T)
pkg/cmd/issue/unpin/unpin_test.go:21
FunctionTestUntilCodespaceConnectionReady_DoesntStartTwice
(t *testing.T)
internal/codespaces/codespaces_test.go:185
FunctionTestUntrustedBytes_roundTrip
(t *testing.T)
pkg/iostreams/untrusted_test.go:44
FunctionTestUntrusted_Empty
(t *testing.T)
pkg/iostreams/untrusted_test.go:76
FunctionTestUntrusted_Raw_returnsExactBytes
(t *testing.T)
pkg/iostreams/untrusted_test.go:37
FunctionTestUntrusted_String_sanitizes
(t *testing.T)
pkg/iostreams/untrusted_test.go:14
FunctionTestUntrusted_fmt_paths_never_leak
The property that drove the design: fmt reflection must not leak the raw bytes through any verb. Because Untrusted implements Stringer, %s, %v, and th
pkg/iostreams/untrusted_test.go:22
FunctionTestUntrusted_jsonRoundTrip
(t *testing.T)
pkg/iostreams/untrusted_test.go:66
FunctionTestUntrusted_survivesJSONDecode
The showcase property: an Untrusted struct field is populated by json.Unmarshal with provenance intact, so printing it later sanitizes even though the
pkg/iostreams/untrusted_test.go:56
FunctionTestUpdate
(t *testing.T)
pkg/cmd/discussion/client/client_test.go:3126
FunctionTestUpdate
(t *testing.T)
pkg/cmd/issue/artifact/client/client_test.go:707
FunctionTestUpdateAddsNewCredentials
(t *testing.T)
pkg/cmd/auth/shared/gitcredentials/updater_test.go:44
FunctionTestUpdateAvailable
(t *testing.T)
pkg/cmd/extension/extension_test.go:45
FunctionTestUpdateAvailable_CurrentVersionIsLatestVersion
(t *testing.T)
pkg/cmd/extension/extension_test.go:35
FunctionTestUpdateAvailable_IsLocal
(t *testing.T)
pkg/cmd/extension/extension_test.go:10
FunctionTestUpdateAvailable_NoCurrentVersion
(t *testing.T)
pkg/cmd/extension/extension_test.go:18
FunctionTestUpdateAvailable_NoLatestVersion
(t *testing.T)
pkg/cmd/extension/extension_test.go:26
FunctionTestUpdateBranchInSingleWorktreeRepository
(t *testing.T)
pkg/cmd/repo/sync/sync_test.go:223
FunctionTestUpdateComment
(t *testing.T)
pkg/cmd/discussion/client/client_test.go:3547
FunctionTestUpdateProjectV2Items
(t *testing.T)
api/queries_projects_v2_test.go:17
FunctionTestUpdateReplacesOldCredentials
(t *testing.T)
pkg/cmd/auth/shared/gitcredentials/updater_test.go:65
FunctionTestUpdateRun
(t *testing.T)
pkg/cmd/skills/update/update_test.go:337
FunctionTestUpload
(t *testing.T)
internal/attachments/client_test.go:63
FunctionTestUploadAuthentication
(t *testing.T)
internal/attachments/client_test.go:111
FunctionTestUploadDeployKeyHTTPError
(t *testing.T)
pkg/cmd/repo/deploy-key/add/add_test.go:91
FunctionTestUploadErrors
(t *testing.T)
internal/attachments/client_test.go:165
FunctionTestUploadHostForTenant
(t *testing.T)
internal/attachments/client_test.go:94
FunctionTestUploadMissingFile
A file can be removed between the validation that accepted it and the upload that opens it, which is the only way a resolved asset reaches the endpoin
internal/attachments/client_test.go:356
FunctionTestUploadTarget
(t *testing.T)
pkg/cmd/issue/artifact/client/client_test.go:83
FunctionTestUploaderUploadAndAttach
(t *testing.T)
internal/attachments/attach_test.go:38
FunctionTestUploaderUploadAndAttachAbsolutePathReference
(t *testing.T)
internal/attachments/attach_test.go:591
FunctionTestUploaderUploadAndAttachDocuments
(t *testing.T)
internal/attachments/attach_test.go:259
FunctionTestUploaderUploadAndAttachDoesNotLeakTheAssetURLIntoAnError
(t *testing.T)
internal/attachments/attach_test.go:564
FunctionTestUploaderUploadAndAttachNoAssets
(t *testing.T)
internal/attachments/attach_test.go:530
FunctionTestUploaderUploadAndAttachUploadsOnceForRepeatedReferences
(t *testing.T)
internal/attachments/attach_test.go:508
FunctionTestUserAssetUploadPrefix
(t *testing.T)
internal/ghinstance/host_test.go:161
FunctionTestUserKeysHTTPError
(t *testing.T)
pkg/cmd/ssh-key/shared/user_keys_test.go:13
← previousnext →6,801–6,900 of 7,572, ranked by callers