MCPcopy Create free account

hub / github.com/cli/cli / functions

Functions7,572 in github.com/cli/cli

FunctionTestNewHTTPClientLegacyConfigAttachesToken
(t *testing.T)
api/http_client_test.go:309
FunctionTestNewHTTPClientLogHeadlineOnly
(t *testing.T)
api/http_client_test.go:335
FunctionTestNewHTTPClientRejectsConfigAndRefreshingConfig
(t *testing.T)
api/http_client_test.go:272
FunctionTestNewHTTPClientTelemetryDisabler
(t *testing.T)
api/http_client_test.go:564
FunctionTestNewHTTPClientVerboseWithoutLog
(t *testing.T)
api/http_client_test.go:550
FunctionTestNewHTTPClientWithoutTelemetryDisabler
(t *testing.T)
api/http_client_test.go:612
FunctionTestNewInspectCmd_PrintOutputJSONFormat
(t *testing.T)
pkg/cmd/attestation/inspect/inspect_integration_test.go:17
FunctionTestNewOwner_nonTTY
(t *testing.T)
pkg/cmd/project/shared/queries/queries_test.go:604
FunctionTestNewPortForwarder
(t *testing.T)
internal/codespaces/portforwarder/port_forwarder_test.go:15
FunctionTestNewProject_nonTTY
(t *testing.T)
pkg/cmd/project/shared/queries/queries_test.go:598
FunctionTestNewServiceLogModeFlushesToWriter
(t *testing.T)
internal/telemetry/telemetry_test.go:296
FunctionTestNewServiceLogModeWithColorLogsToWriter
(t *testing.T)
internal/telemetry/telemetry_test.go:317
FunctionTestNewTrustedRootCmd
(t *testing.T)
pkg/cmd/attestation/trustedroot/trustedroot_test.go:24
FunctionTestNewTrustedRootWithTenancy
(t *testing.T)
pkg/cmd/attestation/trustedroot/trustedroot_test.go:93
FunctionTestNewUploader
(t *testing.T)
pkg/cmd/issue/artifact/shared/shared_test.go:780
FunctionTestNewUploader
(t *testing.T)
internal/attachments/client_test.go:372
FunctionTestNewVerifyCmd
(t *testing.T)
pkg/cmd/attestation/verify/verify_test.go:36
FunctionTestNew_APIURL_customConfig
(t *testing.T)
internal/codespaces/api/api_test.go:162
FunctionTestNew_APIURL_dotcomConfig
(t *testing.T)
internal/codespaces/api/api_test.go:139
FunctionTestNew_APIURL_dotcomFallback
(t *testing.T)
internal/codespaces/api/api_test.go:210
FunctionTestNew_APIURL_env
(t *testing.T)
internal/codespaces/api/api_test.go:187
FunctionTestNew_ServerURL_customConfig
(t *testing.T)
internal/codespaces/api/api_test.go:247
FunctionTestNew_ServerURL_dotcomConfig
(t *testing.T)
internal/codespaces/api/api_test.go:224
FunctionTestNew_ServerURL_dotcomFallback
(t *testing.T)
internal/codespaces/api/api_test.go:295
FunctionTestNew_ServerURL_env
(t *testing.T)
internal/codespaces/api/api_test.go:272
FunctionTestNoArgs
(t *testing.T)
pkg/cmd/pr/close/close_test.go:98
FunctionTestNoOpService
(t *testing.T)
internal/telemetry/telemetry_test.go:523
FunctionTestNoRepoCanBeDetermined
(t *testing.T)
pkg/cmd/pr/create/create_test.go:2727
FunctionTestNoneExpect
(t *testing.T)
pkg/option/option_test.go:187
FunctionTestNoneStringer
(t *testing.T)
pkg/option/option_test.go:120
FunctionTestNoneUnwrap
(t *testing.T)
pkg/option/option_test.go:128
FunctionTestNoneUnwrapOr
(t *testing.T)
pkg/option/option_test.go:141
FunctionTestNoneUnwrapOrElse
(t *testing.T)
pkg/option/option_test.go:149
FunctionTestNoneUnwrapOrZero
(t *testing.T)
pkg/option/option_test.go:157
FunctionTestNoneValue
(t *testing.T)
pkg/option/option_test.go:177
FunctionTestNormalizeReference
(t *testing.T)
pkg/cmd/attestation/artifact/artifact_windows_test.go:11
FunctionTestNormalizeReference
(t *testing.T)
pkg/cmd/attestation/artifact/artifact_posix_test.go:11
FunctionTestNormalizeRepoName
(t *testing.T)
pkg/cmd/repo/shared/repo_test.go:7
FunctionTestOAuthAppHttpClientDoesNotLogCredentials
(t *testing.T)
pkg/cmd/factory/default_test.go:445
FunctionTestOfficialExtensionStubRun
(t *testing.T)
pkg/cmd/root/official_extension_stub_test.go:15
FunctionTestOfficialExtension_Repository
(t *testing.T)
pkg/extensions/official_test.go:9
FunctionTestOpenFileAllowsTrustedParentSymlinks
(t *testing.T)
internal/safepaths/root_test.go:293
FunctionTestOpenFileRejectsTrailingSeparator
(t *testing.T)
internal/safepaths/root_test.go:256
FunctionTestOpenFileRejectsWindowsTrailingSeparator
(t *testing.T)
internal/safepaths/link_windows_test.go:112
FunctionTestOpenRootDirAllowsTrustedPathSymlinks
(t *testing.T)
internal/safepaths/root_test.go:344
FunctionTestOpenStream
(t *testing.T)
pkg/cmd/event/client/client_test.go:431
FunctionTestOutputForEnvironment
(t *testing.T)
acceptance/acceptance_test.go:590
FunctionTestOutputReturnsCommandOutput
(t *testing.T)
git/command_test.go:34
FunctionTestOutputReturnsGitError
(t *testing.T)
git/command_test.go:47
FunctionTestOwnerBinaryExtension
(t *testing.T)
pkg/cmd/extension/extension_test.go:67
FunctionTestOwnerCached
(t *testing.T)
pkg/cmd/extension/extension_test.go:98
FunctionTestOwnerGitExtension
(t *testing.T)
pkg/cmd/extension/extension_test.go:87
FunctionTestOwnerLocalExtension
(t *testing.T)
pkg/cmd/extension/extension_test.go:55
FunctionTestPRCheckout_detach
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1165
FunctionTestPRCheckout_detachedHead
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1046
FunctionTestPRCheckout_differentRepo
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:981
FunctionTestPRCheckout_differentRepoForce
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1004
FunctionTestPRCheckout_differentRepo_currentBranch
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1065
FunctionTestPRCheckout_differentRepo_existingBranch
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1027
FunctionTestPRCheckout_differentRepo_invalidBranchName
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1084
FunctionTestPRCheckout_differentRepo_remoteExists
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:950
FunctionTestPRCheckout_existingBranch
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:930
FunctionTestPRCheckout_force
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1145
FunctionTestPRCheckout_maintainerCanModify
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1101
FunctionTestPRCheckout_recurseSubmodules
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:1124
FunctionTestPRCheckout_sameRepo
(t *testing.T)
pkg/cmd/pr/checkout/checkout_test.go:909
FunctionTestPRFindRefs
(t *testing.T)
pkg/cmd/pr/shared/find_refs_resolution_test.go:62
FunctionTestPRList
(t *testing.T)
pkg/cmd/pr/list/list_test.go:77
FunctionTestPRList_Search_withProjectItems
(t *testing.T)
pkg/cmd/pr/list/list_test.go:409
FunctionTestPRList_filtering
(t *testing.T)
pkg/cmd/pr/list/list_test.go:119
FunctionTestPRList_filteringAssignee
(t *testing.T)
pkg/cmd/pr/list/list_test.go:185
FunctionTestPRList_filteringAuthor
(t *testing.T)
pkg/cmd/pr/list/list_test.go:238
FunctionTestPRList_filteringClosed
(t *testing.T)
pkg/cmd/pr/list/list_test.go:157
FunctionTestPRList_filteringDraft
(t *testing.T)
pkg/cmd/pr/list/list_test.go:201
FunctionTestPRList_filteringHeadBranch
(t *testing.T)
pkg/cmd/pr/list/list_test.go:171
FunctionTestPRList_filteringRemoveDuplicate
(t *testing.T)
pkg/cmd/pr/list/list_test.go:136
FunctionTestPRList_nontty
(t *testing.T)
pkg/cmd/pr/list/list_test.go:100
FunctionTestPRList_web
(t *testing.T)
pkg/cmd/pr/list/list_test.go:292
FunctionTestPRList_withInvalidLimitFlag
(t *testing.T)
pkg/cmd/pr/list/list_test.go:285
FunctionTestPRList_withProjectItems
(t *testing.T)
pkg/cmd/pr/list/list_test.go:335
FunctionTestPRMergeEmptyStrategyNonTTY
(t *testing.T)
pkg/cmd/pr/merge/merge_test.go:1646
FunctionTestPRMergeTTY
(t *testing.T)
pkg/cmd/pr/merge/merge_test.go:1415
FunctionTestPRMergeTTY_squashEditCommitMsgAndSubject
(t *testing.T)
pkg/cmd/pr/merge/merge_test.go:1558
FunctionTestPRMergeTTY_withDeleteBranch
(t *testing.T)
pkg/cmd/pr/merge/merge_test.go:1481
FunctionTestPRReady
(t *testing.T)
pkg/cmd/pr/ready/ready_test.go:123
FunctionTestPRReadyUndo
(t *testing.T)
pkg/cmd/pr/ready/ready_test.go:165
FunctionTestPRReadyUndo_alreadyDraft
(t *testing.T)
pkg/cmd/pr/ready/ready_test.go:190
FunctionTestPRReady_alreadyReady
(t *testing.T)
pkg/cmd/pr/ready/ready_test.go:148
FunctionTestPRReady_closed
(t *testing.T)
pkg/cmd/pr/ready/ready_test.go:207
FunctionTestPRReopen
(t *testing.T)
pkg/cmd/pr/reopen/reopen_test.go:52
FunctionTestPRReopen_alreadyMerged
(t *testing.T)
pkg/cmd/pr/reopen/reopen_test.go:94
FunctionTestPRReopen_alreadyOpen
(t *testing.T)
pkg/cmd/pr/reopen/reopen_test.go:77
FunctionTestPRReopen_withComment
(t *testing.T)
pkg/cmd/pr/reopen/reopen_test.go:111
FunctionTestPRRepositorySelectionMatchesStruct
TestPRRepositorySelectionMatchesStruct guards the seam between the two: a field added to the selection but not the struct is silently dropped, and one
api/queries_pr_test.go:574
FunctionTestPRRevert_APIFailure
(t *testing.T)
pkg/cmd/pr/revert/revert_test.go:219
FunctionTestPRRevert_acceptedIdentifierFormats
(t *testing.T)
pkg/cmd/pr/revert/revert_test.go:69
FunctionTestPRRevert_missingArgument
(t *testing.T)
pkg/cmd/pr/revert/revert_test.go:52
FunctionTestPRRevert_multipleInvocations
(t *testing.T)
pkg/cmd/pr/revert/revert_test.go:248
FunctionTestPRRevert_notRevertable
(t *testing.T)
pkg/cmd/pr/revert/revert_test.go:126
FunctionTestPRRevert_withDraft
(t *testing.T)
pkg/cmd/pr/revert/revert_test.go:183
← previousnext →6,201–6,300 of 7,572, ranked by callers