Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/cli/cli
/ functions
Functions
7,487 in github.com/cli/cli
⨍
Functions
7,487
◇
Types & classes
1,526
Function
TestClientPushDefaultReturnsGitDefaultWhenUnset
(t *testing.T)
git/client_test.go:721
Function
TestClientPushReportsMissingRemote
(t *testing.T)
git/client_test.go:1341
Function
TestClientPushRevisionReportsUnresolvedBranch
(t *testing.T)
git/client_test.go:824
Function
TestClientPushRevisionReturnsPushRemoteTrackingRef
(t *testing.T)
git/client_test.go:803
Function
TestClientPushUsesAuthenticatedUpstreamCommand
(t *testing.T)
git/client_test.go:1356
Function
TestClientReadBranchConfigPropagatesGitError
(t *testing.T)
git/client_test.go:557
Function
TestClientReadBranchConfigReturnsConfiguredValues
(t *testing.T)
git/client_test.go:536
Function
TestClientReadBranchConfigReturnsEmptyConfigWhenUnset
(t *testing.T)
git/client_test.go:524
Function
TestClientRemotePushDefaultPropagatesGitError
(t *testing.T)
git/client_test.go:787
Function
TestClientRemotePushDefaultReturnsConfiguredRemote
(t *testing.T)
git/client_test.go:774
Function
TestClientRemotePushDefaultReturnsEmptyWhenUnset
(t *testing.T)
git/client_test.go:762
Function
TestClientRemoteURLReportsMissingGitExecutable
(t *testing.T)
git/client_test.go:1782
Function
TestClientRemoteURLReportsMissingRemote
(t *testing.T)
git/client_test.go:1755
Function
TestClientRemoteURLReturnsConfiguredURL
(t *testing.T)
git/client_test.go:1742
Function
TestClientRemoteURLSeparatesRemoteNameFromOptions
(t *testing.T)
git/client_test.go:1769
Function
TestClientRemotesReturnsSortedRemotesWithResolutions
(t *testing.T)
git/client_test.go:122
Function
TestClientRemotesToleratesMissingResolutionConfig
(t *testing.T)
git/client_test.go:148
Function
TestClientSetRemoteBranchesLimitsTrackedBranches
(t *testing.T)
git/client_test.go:1179
Function
TestClientSetRemoteBranchesReportsMissingRemote
(t *testing.T)
git/client_test.go:1192
Function
TestClientSetRemoteResolutionAddsResolution
(t *testing.T)
git/client_test.go:231
Function
TestClientSetRemoteResolutionPropagatesGitError
(t *testing.T)
git/client_test.go:244
Function
TestClientShowRefsReturnsExistingRefsAlongsideMissingRefError
(t *testing.T)
git/client_test.go:287
Function
TestClientShowRefsSeparatesRefsFromOptions
(t *testing.T)
git/client_test.go:304
Function
TestClientToplevelDirReportsNonRepository
(t *testing.T)
git/client_test.go:1078
Function
TestClientToplevelDirReturnsRepositoryRootFromSubdirectory
(t *testing.T)
git/client_test.go:1063
Function
TestClientUncommittedChangeCountIncludesTrackedAndUntrackedFiles
(t *testing.T)
git/client_test.go:375
Function
TestClientUncommittedChangeCountReturnsZeroForCleanRepository
(t *testing.T)
git/client_test.go:363
Function
TestClientUnsetRemoteResolutionPropagatesGitError
(t *testing.T)
git/client_test.go:1165
Function
TestClientUnsetRemoteResolutionRemovesResolution
(t *testing.T)
git/client_test.go:1148
Function
TestClientUnsupportedHost
(t *testing.T)
pkg/cmd/event/client/client_test.go:429
Function
TestClientUpdateRemoteURLReportsMissingRemote
(t *testing.T)
git/client_test.go:217
Function
TestClientUpdateRemoteURLUpdatesConfiguredRemote
(t *testing.T)
git/client_test.go:202
Function
TestClientWorktreePruneRemovesMissingWorktreeMetadata
(t *testing.T)
git/client_test.go:2067
Function
TestClientWorktreeRemoveRemovesOptionLikePath
(t *testing.T)
git/client_test.go:2048
Function
TestClientWorktreesListsRepositoryWorktrees
(t *testing.T)
git/client_test.go:2027
Function
TestClipboard
(t *testing.T)
internal/config/config_test.go:220
Function
TestCloneRun
(t *testing.T)
pkg/cmd/label/clone_test.go:81
Function
TestCloseRun
(t *testing.T)
pkg/cmd/issue/close/close_test.go:113
Function
TestCmdExport
(t *testing.T)
script/ghmock/export_test.go:56
Function
TestCmdGit
(t *testing.T)
script/ghmock/gitcmd_test.go:202
Function
TestCmdHelpTopic
(t *testing.T)
pkg/cmd/root/help_topic_test.go:10
Function
TestCmdLog
(t *testing.T)
script/ghmock/log_test.go:41
Function
TestCmdRepo
(t *testing.T)
script/ghmock/gitcmd_test.go:50
Function
TestCmdScaffold
(t *testing.T)
script/ghmock/scaffold_test.go:89
Function
TestCmdSchema
(t *testing.T)
script/ghmock/schemacmd_test.go:86
Function
TestCmdSchemas
(t *testing.T)
script/ghmock/schemafiles_test.go:163
Function
TestCmdSet
(t *testing.T)
script/ghmock/set_test.go:342
Function
TestCmdSetAndReset
(t *testing.T)
script/ghmock/log_test.go:297
Function
TestCmdWrite
(t *testing.T)
script/ghmock/gitcmd_test.go:126
Function
TestCodeExportData
(t *testing.T)
pkg/search/result_test.go:14
Function
TestCodeRun
(t *testing.T)
pkg/cmd/search/code/code_test.go:135
Function
TestCodespace_ExportData
(t *testing.T)
internal/codespaces/api/api_test.go:591
Function
TestCollectWorkflowRunDiagnostics
(t *testing.T)
acceptance/acceptance_test.go:381
Function
TestCollectWorkflowRunDiagnosticsIncludesCommandFailures
(t *testing.T)
acceptance/acceptance_test.go:430
Function
TestColorForProjectState
(t *testing.T)
pkg/cmd/project/shared/format/display_test.go:15
Function
TestCommentRun
(t *testing.T)
pkg/cmd/discussion/comment/comment_test.go:239
Function
TestCommentablePreRun
(t *testing.T)
pkg/cmd/pr/shared/commentable_test.go:45
Function
TestCommentableRunUploadsAndWritesBodies
(t *testing.T)
pkg/cmd/pr/shared/commentable_test.go:173
Function
TestCommitExportData
(t *testing.T)
pkg/search/result_test.go:61
Function
TestCommitsRun
(t *testing.T)
pkg/cmd/search/commits/commits_test.go:147
Function
TestCompleteEventTypes
(t *testing.T)
pkg/cmd/event/shared/completion_test.go:9
Function
TestConcurrentForwardPortDoesNotRace
(t *testing.T)
internal/codespaces/portforwarder/port_forwarder_test.go:175
Function
TestConfigFromEnv
(t *testing.T)
internal/debug/config_test.go:13
Function
TestConfigFromEnvInvalidOverride
(t *testing.T)
internal/debug/config_test.go:74
Function
TestConfigIgnoresEnvironment
(t *testing.T)
internal/debug/config_disabled_test.go:12
Function
TestConfigReadsEnvironment
(t *testing.T)
internal/debug/config_enabled_test.go:14
Function
TestConfigWithTokenRefresher
(t *testing.T)
pkg/cmd/factory/default_test.go:499
Function
TestContainsEscapeSequence
(t *testing.T)
pkg/iostreams/content_test.go:48
Function
TestContent
(t *testing.T)
internal/licenses/licenses_test.go:12
Function
TestContent_tableTests
(t *testing.T)
internal/licenses/licenses_test.go:19
Function
TestCopilotReplacer_ReplaceSlice
(t *testing.T)
pkg/cmd/pr/shared/params_test.go:291
Function
TestCopilotReviewerReplacer_ReplaceSlice
(t *testing.T)
pkg/cmd/pr/shared/params_test.go:363
Function
TestCopyGuardedContent
(t *testing.T)
pkg/iostreams/content_test.go:53
Function
TestCopyLogWithLinePrefix_TerminalEscapeSequences
(t *testing.T)
pkg/cmd/run/view/view_test.go:2762
Function
TestCreate
(t *testing.T)
pkg/cmd/discussion/client/client_test.go:2355
Function
TestCreate
(t *testing.T)
pkg/cmd/issue/artifact/client/client_test.go:587
Function
TestCreateCmdFlagError
(t *testing.T)
pkg/cmd/codespace/create_test.go:19
Function
TestCreateCodespaces
(t *testing.T)
internal/codespaces/api/api_test.go:309
Function
TestCreateCodespaces_Pending
(t *testing.T)
internal/codespaces/api/api_test.go:363
Function
TestCreateCodespaces_displayName
(t *testing.T)
internal/codespaces/api/api_test.go:338
Function
TestCreateJSONLinesFilePath
(t *testing.T)
pkg/cmd/attestation/download/metadata_test.go:30
Function
TestCreateJob
(t *testing.T)
pkg/cmd/agent-task/capi/job_test.go:211
Function
TestCreateJobRequiresRepoAndProblemStatement
(t *testing.T)
pkg/cmd/agent-task/capi/job_test.go:197
Function
TestCreateMetadataFileMode
(t *testing.T)
pkg/cmd/attestation/download/metadata_mode_unix_test.go:14
Function
TestCreateReleaseHTTPErrorWithoutScopesHeader
(t *testing.T)
pkg/cmd/release/create/http_test.go:71
Function
TestCreateReleaseMissingWorkflowScope
(t *testing.T)
pkg/cmd/release/create/http_test.go:55
Function
TestCreateReplaceDoesNotBlockOnFIFOSwap
(t *testing.T)
internal/safepaths/root_special_unix_test.go:73
Function
TestCreateReplaceDoesNotUnlinkFIFO
(t *testing.T)
internal/safepaths/root_special_unix_test.go:37
Function
TestCreateReplaceFailsClosedForNonLinkReparse
(t *testing.T)
internal/safepaths/link_windows_test.go:58
Function
TestCreateReplacePreservesDevice
(t *testing.T)
internal/safepaths/root_special_unix_test.go:16
Function
TestCreateRun
(t *testing.T)
pkg/cmd/discussion/create/create_test.go:144
Function
TestCreateRun
(t *testing.T)
pkg/cmd/label/create_test.go:86
Function
TestCreateRun
(t *testing.T)
pkg/cmd/issue/artifact/create/create_test.go:570
Function
TestCreateRun
(t *testing.T)
pkg/cmd/repo/autolink/create/create_test.go:118
Function
TestCreateRun
(t *testing.T)
pkg/cmd/event/subscription/create/create_test.go:72
Function
TestCreateRunResourceHost
(t *testing.T)
pkg/cmd/event/subscription/create/create_test.go:191
Function
TestCreateSubscription
(t *testing.T)
pkg/cmd/event/client/client_test.go:51
Function
TestCredentialPatternFromGitURL
(t *testing.T)
git/client_test.go:1645
Function
TestCredentialPatternFromGitURLReportsMalformedURL
(t *testing.T)
git/client_test.go:1657
Function
TestCredentialPatternFromHost
(t *testing.T)
git/client_test.go:1669
← previous
next →
5,301–5,400 of 7,487, ranked by callers