MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,487 in github.com/cli/cli

FunctionTestDedent
(t *testing.T)
pkg/cmd/root/help_test.go:22
FunctionTestDeduplicateByName_Namespaced
(t *testing.T)
pkg/cmd/skills/search/search_test.go:621
FunctionTestDeduplicateResults
(t *testing.T)
pkg/cmd/skills/search/search_test.go:396
FunctionTestDeduplicateResults_Namespaced
(t *testing.T)
pkg/cmd/skills/search/search_test.go:417
FunctionTestDefaultHostFromEnvVar
(t *testing.T)
internal/config/auth_config_test.go:213
FunctionTestDefaultHostLoggedInToOnlyOneHost
(t *testing.T)
internal/config/auth_config_test.go:238
FunctionTestDefaultHostNotLoggedIn
(t *testing.T)
internal/config/auth_config_test.go:226
FunctionTestDefaultHostWorksRightAfterMigration
(t *testing.T)
internal/config/auth_config_test.go:755
FunctionTestDefaultRun
(t *testing.T)
pkg/cmd/repo/setdefault/setdefault_test.go:178
FunctionTestDeferredRepositoryCleanup
(t *testing.T)
acceptance/fixture_repository_test.go:304
FunctionTestDelete
(t *testing.T)
pkg/cmd/issue/artifact/client/client_test.go:525
FunctionTestDelete
(t *testing.T)
pkg/cmd/codespace/delete_test.go:18
FunctionTestDeleteComment
(t *testing.T)
pkg/cmd/discussion/client/client_test.go:3636
FunctionTestDeleteDeployKeyHTTPError
(t *testing.T)
pkg/cmd/repo/deploy-key/delete/delete_test.go:44
FunctionTestDeleteReleaseHTTPError
(t *testing.T)
pkg/cmd/release/create/http_test.go:97
FunctionTestDeleteRemoteBranchTreatsOwnerCaseAsSameRepository
(t *testing.T)
pkg/cmd/pr/merge/merge_test.go:673
FunctionTestDeleteRepo
(t *testing.T)
pkg/cmd/repo/delete/http_test.go:14
FunctionTestDeleteRepoDoesNotFollowRedirect
TestDeleteRepoDoesNotFollowRedirect pins that a renamed or transferred repo surfaces the 3xx to the caller rather than being followed. deleteRun relie
pkg/cmd/repo/delete/http_test.go:59
FunctionTestDeleteRepoMissingScope
TestDeleteRepoMissingScope pins the scopes suggestion, which is the reason this call site needs the delete_repo scope declared rather than relying on
pkg/cmd/repo/delete/http_test.go:28
FunctionTestDeleteRun
(t *testing.T)
pkg/cmd/cache/delete/delete_test.go:122
FunctionTestDeleteRun
(t *testing.T)
pkg/cmd/label/delete_test.go:84
FunctionTestDeleteRun
(t *testing.T)
pkg/cmd/issue/artifact/delete/delete_test.go:281
FunctionTestDeleteRun
(t *testing.T)
pkg/cmd/alias/delete/delete_test.go:87
FunctionTestDeleteRun
(t *testing.T)
pkg/cmd/repo/autolink/delete/delete_test.go:125
FunctionTestDeleteRun
(t *testing.T)
pkg/cmd/event/subscription/delete/delete_test.go:68
FunctionTestDeleteSSHKeyHTTPError
(t *testing.T)
pkg/cmd/ssh-key/delete/delete_test.go:215
FunctionTestDeleteSubscription
(t *testing.T)
pkg/cmd/event/client/client_test.go:184
FunctionTestDetectConfiguredHelper
(t *testing.T)
pkg/cmd/auth/shared/git_credential_test.go:332
FunctionTestDetectGitHubRemote_UsesDir
(t *testing.T)
pkg/cmd/skills/publish/publish_test.go:1535
FunctionTestDetectWith
(t *testing.T)
internal/agents/detect_test.go:50
FunctionTestDevelopRun
(t *testing.T)
pkg/cmd/issue/develop/develop_test.go:189
FunctionTestDigestAlgForRef
(t *testing.T)
pkg/cmd/release/shared/fetch_test.go:184
FunctionTestDigestContainerImageArtifact
(t *testing.T)
pkg/cmd/attestation/artifact/image_test.go:11
FunctionTestDirectoryIdentityMismatch
(t *testing.T)
internal/safepaths/root_validation_test.go:13
FunctionTestDisableRun
(t *testing.T)
pkg/cmd/workflow/disable/disable_test.go:92
FunctionTestDiscoverLocalSkills
(t *testing.T)
internal/skills/discovery/discovery_test.go:1363
FunctionTestDiscoverLocalSkillsWithOptions
(t *testing.T)
internal/skills/discovery/discovery_test.go:1450
FunctionTestDiscoverSkillByPath
(t *testing.T)
internal/skills/discovery/discovery_test.go:1085
FunctionTestDiscoverSkillByPathWithOptionsSkipsDescription
(t *testing.T)
internal/skills/discovery/discovery_test.go:1337
FunctionTestDiscoverSkillFiles
(t *testing.T)
internal/skills/discovery/discovery_test.go:1596
FunctionTestDiscoverSkills
(t *testing.T)
internal/skills/discovery/discovery_test.go:860
FunctionTestDiscoverSkillsWithOptions
(t *testing.T)
internal/skills/discovery/discovery_test.go:994
FunctionTestDisplayName
(t *testing.T)
api/queries_repo_test.go:801
FunctionTestDisplayNameHiddenDir
(t *testing.T)
internal/skills/discovery/discovery_test.go:311
FunctionTestDisplayURL
(t *testing.T)
internal/text/text_test.go:183
FunctionTestDoRequest
(t *testing.T)
api/request_test.go:300
FunctionTestDoRequestError
(t *testing.T)
api/request_test.go:325
FunctionTestDoRequestPreservesCheckRedirect
TestDoRequestPreservesCheckRedirect pins the difference between Request and DoRequest that motivates DoRequest existing for redirect-sensitive call si
api/request_test.go:399
FunctionTestDownloadAsset
TestDownloadAsset pins the octet-stream media type, without which the API returns asset metadata as JSON rather than the binary itself.
pkg/cmd/extension/http_test.go:280
FunctionTestDownloadCopilot
(t *testing.T)
pkg/cmd/copilot/copilot_test.go:512
FunctionTestDownloadRun
(t *testing.T)
pkg/cmd/issue/artifact/download/download_test.go:342
FunctionTestDownloadWorkflowArtifactsPageinates
(t *testing.T)
pkg/cmd/run/shared/artifacts_test.go:16
FunctionTestEdit
(t *testing.T)
pkg/cmd/codespace/edit_test.go:11
FunctionTestEditDiscussionLabels
(t *testing.T)
pkg/cmd/discussion/client/client_test.go:2856
FunctionTestEditRun
(t *testing.T)
pkg/cmd/discussion/edit/edit_test.go:146
FunctionTestEditRun
(t *testing.T)
pkg/cmd/label/edit_test.go:91
FunctionTestEditRun
(t *testing.T)
pkg/cmd/issue/artifact/edit/edit_test.go:454
FunctionTestEliminateDuplicates
(t *testing.T)
pkg/cmd/pr/checks/checks_test.go:669
FunctionTestEnableRun
(t *testing.T)
pkg/cmd/workflow/enable/enable_test.go:92
FunctionTestEncodeNodeID
(t *testing.T)
api/node_id_test.go:10
FunctionTestEnsurePushed
(t *testing.T)
pkg/cmd/skills/publish/publish_test.go:1603
FunctionTestExecutablePath
(t *testing.T)
internal/ghcmd/executable_test.go:118
FunctionTestExecuteLocalRepoSyncNonCurrentBranch
(t *testing.T)
pkg/cmd/repo/sync/sync_test.go:121
FunctionTestExpandAlias
(t *testing.T)
pkg/cmd/root/alias_test.go:10
FunctionTestExpandShellAlias
(t *testing.T)
pkg/cmd/root/alias_test.go:75
FunctionTestExportReleases
(t *testing.T)
pkg/cmd/release/list/list_test.go:391
FunctionTestExportSecrets
(t *testing.T)
pkg/cmd/secret/list/list_test.go:868
FunctionTestExportVariables
(t *testing.T)
pkg/cmd/variable/get/get_test.go:300
FunctionTestExportVariables
(t *testing.T)
pkg/cmd/variable/list/list_test.go:447
FunctionTestExtBrowseRunsBubbleTeaModel
(t *testing.T)
pkg/cmd/extension/browse/browse_test.go:103
FunctionTestExtensionDescriptionFallback
(t *testing.T)
pkg/cmd/extension/browse/browse_test.go:158
FunctionTestExtractContents
(t *testing.T)
pkg/githubtemplate/github_template_test.go:383
FunctionTestExtractName
(t *testing.T)
pkg/githubtemplate/github_template_test.go:262
FunctionTestExtractSkillInfo
(t *testing.T)
pkg/cmd/skills/search/search_test.go:436
FunctionTestExtractTarGz
(t *testing.T)
pkg/cmd/copilot/copilot_test.go:213
FunctionTestExtractTitle
(t *testing.T)
pkg/githubtemplate/github_template_test.go:322
FunctionTestExtractZip
(t *testing.T)
pkg/cmd/copilot/copilot_test.go:346
FunctionTestFailureReason
(t *testing.T)
pkg/cmd/issue/artifact/shared/results_test.go:349
FunctionTestFakeHelperConfigContract
(t *testing.T)
pkg/cmd/auth/shared/gitcredentials/fake_helper_config_test.go:11
FunctionTestFallbackConfig
(t *testing.T)
internal/config/config_test.go:134
FunctionTestFetchBlob
(t *testing.T)
internal/skills/discovery/discovery_test.go:722
FunctionTestFetchBundleFromAttestations_BundleURL
(t *testing.T)
pkg/cmd/attestation/api/client_test.go:171
FunctionTestFetchBundleFromAttestations_FailAfterRetrying
(t *testing.T)
pkg/cmd/attestation/api/client_test.go:226
FunctionTestFetchBundleFromAttestations_FailOnTheSecondAttestation
(t *testing.T)
pkg/cmd/attestation/api/client_test.go:204
FunctionTestFetchBundleFromAttestations_FallbackToBundleField
(t *testing.T)
pkg/cmd/attestation/api/client_test.go:242
FunctionTestFetchBundleFromAttestations_MissingBundleAndBundleURLFields
(t *testing.T)
pkg/cmd/attestation/api/client_test.go:188
FunctionTestFetchCodespaces
(t *testing.T)
pkg/cmd/codespace/codespace_selector_test.go:49
FunctionTestFetchCommitSHA
TestFetchCommitSHA covers the two things that kept this site on the raw client: the custom Accept media type that makes the API answer with a bare SHA
pkg/cmd/extension/http_test.go:240
FunctionTestFetchDescriptionsConcurrent
(t *testing.T)
internal/skills/discovery/discovery_test.go:1756
FunctionTestFetchExpectedChecksum
(t *testing.T)
pkg/cmd/copilot/copilot_test.go:448
FunctionTestFetchImageFailure
(t *testing.T)
pkg/cmd/attestation/artifact/image_test.go:29
FunctionTestFetchLatestRelease
(t *testing.T)
pkg/cmd/release/shared/fetch_test.go:96
FunctionTestFetchLatestRelease
(t *testing.T)
pkg/cmd/extension/http_test.go:142
FunctionTestFetchRefSHA
(t *testing.T)
pkg/cmd/release/shared/fetch_test.go:16
FunctionTestFetchReleaseFromTag
(t *testing.T)
pkg/cmd/extension/http_test.go:190
FunctionTestFetchReleaseNotFoundWhenBothLookupsMiss
TestFetchReleaseNotFoundWhenBothLookupsMiss pins the sentinel that FetchRelease reports when neither the published nor the draft lookup finds a releas
pkg/cmd/release/shared/fetch_test.go:165
FunctionTestFetchRepoVisibility
(t *testing.T)
internal/skills/discovery/discovery_test.go:780
FunctionTestFieldValueNodesDisplayValue
(t *testing.T)
pkg/cmd/project/shared/queries/queries_test.go:684
FunctionTestFieldsToEditSurvey_IssueOnlyFields
(t *testing.T)
pkg/cmd/pr/shared/survey_test.go:264
FunctionTestFileCreationModes
(t *testing.T)
internal/safepaths/root_mode_unix_test.go:17
← previousnext →5,401–5,500 of 7,487, ranked by callers