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
TestBrowseModelMovesSelectionDownOnePage
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:39
Function
TestBrowseModelOpensReadmeFromSingleColumn
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:546
Function
TestBrowseModelPreservesActionResultWhenLeavingHelp
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:731
Function
TestBrowseModelPreviewsSelectedReadme
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:374
Function
TestBrowseModelProvidesVisualHierarchyInWideLayout
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:142
Function
TestBrowseModelQuitsOnControlCWhileFiltering
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:59
Function
TestBrowseModelRemovesSelectedExtension
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:755
Function
TestBrowseModelRendersFullScreenReadmeWithinTerminalWidth
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:461
Function
TestBrowseModelRerendersReadmeLoadedDuringResize
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:434
Function
TestBrowseModelRestoresPreviewWidthAfterClosingFullScreenReadme
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:487
Function
TestBrowseModelShowsBrowserFailure
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:593
Function
TestBrowseModelShowsCompleteMultilineInstallationError
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:810
Function
TestBrowseModelShowsKeyboardHelp
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:336
Function
TestBrowseModelShowsKeyboardHelpForShiftedQuestionMark
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:360
Function
TestBrowseModelShowsReadmeFailure
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:572
Function
TestBrowseModelUsesCompactFallbackInVeryShortTerminal
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:108
Function
TestBrowseModelUsesSingleColumnInNarrowTerminal
(t *testing.T)
pkg/cmd/extension/browse/model_test.go:519
Function
TestBuildDisplayName
(t *testing.T)
pkg/cmd/codespace/create_test.go:674
Function
TestBuildRepoURL
(t *testing.T)
internal/skills/source/source_test.go:10
Function
TestCAPITransportResolvesFreshTokenPerRequest
(t *testing.T)
pkg/cmd/agent-task/capi/client_test.go:37
Function
TestCAPITransportUsesLastTokenWhenRefreshErrors
(t *testing.T)
pkg/cmd/agent-task/capi/client_test.go:58
Function
TestCache_ExportData
(t *testing.T)
pkg/cmd/cache/shared/shared_test.go:76
Function
TestCamelCase
(t *testing.T)
pkg/cmd/project/shared/queries/queries_test.go:677
Function
TestCamelToKebab
(t *testing.T)
pkg/search/query_test.go:329
Function
TestCapiClientFuncResolvesURL
(t *testing.T)
pkg/cmd/agent-task/shared/capi_test.go:64
Function
TestCategorizeHost
(t *testing.T)
internal/ghinstance/host_test.go:186
Function
TestCertAuthority
(t *testing.T)
script/ghmock/tls_test.go:12
Function
TestChangelogURL
(t *testing.T)
pkg/cmd/version/version_test.go:21
Function
TestCheckForExtensionUpdate
(t *testing.T)
internal/update/update_test.go:125
Function
TestCheckForUpdate
(t *testing.T)
internal/update/update_test.go:19
Function
TestCheckHost
(t *testing.T)
pkg/cmd/issue/artifact/shared/shared_test.go:643
Function
TestCheckHost
(t *testing.T)
internal/attachments/client_test.go:492
Function
TestCheckIssue
(t *testing.T)
pkg/cmd/issue/artifact/shared/shared_test.go:677
Function
TestCheckRequest
(t *testing.T)
script/ghmock/checker_test.go:13
Function
TestCheckType
(t *testing.T)
pkg/cmd/issue/artifact/shared/shared_test.go:875
Function
TestCheckUploadTarget
(t *testing.T)
pkg/cmd/issue/artifact/shared/shared_test.go:726
Function
TestChecksRun_web
(t *testing.T)
pkg/cmd/pr/checks/checks_test.go:619
Function
TestChecksStatus_NoCheckRunsOrStatusContexts
(t *testing.T)
api/pull_request_test.go:11
Function
TestChecksStatus_SummarisingCheckRunAndStatusContextCountsByState
(t *testing.T)
api/pull_request_test.go:228
Function
TestChecksStatus_SummarisingCheckRuns
(t *testing.T)
api/pull_request_test.go:29
Function
TestChecksStatus_SummarisingCheckRunsAndStatusContexts
(t *testing.T)
api/pull_request_test.go:193
Function
TestChecksStatus_SummarisingStatusContexts
(t *testing.T)
api/pull_request_test.go:141
Function
TestChooseVerifierUnrecognizedIssuer
TestChooseVerifierUnrecognizedIssuer tests that an error is returned for unrecognized issuers.
pkg/cmd/attestation/verification/sigstore_test.go:46
Function
TestChooseVerifierWithNilGitHub
(t *testing.T)
pkg/cmd/attestation/verification/sigstore_test.go:30
Function
TestChooseVerifierWithNilPublicGood
Note: Tests that require network access and TUF client initialization are in sigstore_integration_test.go with the //go:build integration tag. These u
pkg/cmd/attestation/verification/sigstore_test.go:16
Function
TestClearCacheRun
(t *testing.T)
pkg/cmd/config/clear-cache/clear_cache_test.go:13
Function
TestClientAddRemoteTracksAllBranches
(t *testing.T)
git/client_test.go:1519
Function
TestClientAddRemoteTracksSpecificBranches
(t *testing.T)
git/client_test.go:1535
Function
TestClientAuthenticatedCommandDefaultsToGhOnPath
(t *testing.T)
git/client_test.go:98
Function
TestClientAuthenticatedCommandRejectsEmptyCredentialPattern
(t *testing.T)
git/client_test.go:110
Function
TestClientAuthenticatedCommandScopesCredentialHelperToAllHosts
(t *testing.T)
git/client_test.go:68
Function
TestClientAuthenticatedCommandScopesCredentialHelperToPattern
(t *testing.T)
git/client_test.go:83
Function
TestClientCheckoutBranchReportsMissingBranch
(t *testing.T)
git/client_test.go:1017
Function
TestClientCheckoutBranchSwitchesBranches
(t *testing.T)
git/client_test.go:1003
Function
TestClientCheckoutNewBranchReportsMissingTrackingBranch
(t *testing.T)
git/client_test.go:1048
Function
TestClientCheckoutNewBranchTracksRemoteBranch
(t *testing.T)
git/client_test.go:1031
Function
TestClientCloneCreatesBareRepository
(t *testing.T)
git/client_test.go:1391
Function
TestClientCloneCreatesWorkingRepositoryInModifiedRepoDir
(t *testing.T)
git/client_test.go:1369
Function
TestClientCloneReportsMissingRepository
(t *testing.T)
git/client_test.go:1431
Function
TestClientCloneUsesExplicitBareTarget
(t *testing.T)
git/client_test.go:1412
Function
TestClientCloneUsesHostScopedAuthenticatedCommand
(t *testing.T)
git/client_test.go:1448
Function
TestClientCommand
(t *testing.T)
git/client_test.go:20
Function
TestClientCommitBody
(t *testing.T)
git/client_test.go:511
Function
TestClientCommitsExcludesBaseSideCommits
(t *testing.T)
git/client_test.go:428
Function
TestClientCommitsReportsInvalidRef
(t *testing.T)
git/client_test.go:480
Function
TestClientCommitsReportsNoCommitsBetweenRefs
(t *testing.T)
git/client_test.go:415
Function
TestClientCommitsReturnsCommitMetadata
(t *testing.T)
git/client_test.go:393
Function
TestClientCommitsReturnsOnlyOrdinaryFeatureSideCommits
(t *testing.T)
git/client_test.go:456
Function
TestClientConfigPropagatesGitError
(t *testing.T)
git/client_test.go:347
Function
TestClientConfigReportsUnknownKey
(t *testing.T)
git/client_test.go:334
Function
TestClientConfigReturnsConfiguredValue
(t *testing.T)
git/client_test.go:321
Function
TestClientCurrentBranchReportsDetachedHead
(t *testing.T)
git/client_test.go:272
Function
TestClientCurrentBranchReturnsCurrentBranch
(t *testing.T)
git/client_test.go:258
Function
TestClientDeleteLocalBranchRemovesUnmergedBranch
(t *testing.T)
git/client_test.go:948
Function
TestClientDeleteLocalBranchReportsCheckedOutBranch
(t *testing.T)
git/client_test.go:964
Function
TestClientDeleteLocalTagRemovesTag
(t *testing.T)
git/client_test.go:920
Function
TestClientDeleteLocalTagReportsMissingTag
(t *testing.T)
git/client_test.go:934
Function
TestClientErrors
(t *testing.T)
pkg/cmd/event/client/client_test.go:193
Function
TestClientFetchReportsMissingRef
(t *testing.T)
git/client_test.go:1225
Function
TestClientFetchUpdatesRemoteTrackingBranchInModifiedRepoDir
(t *testing.T)
git/client_test.go:1206
Function
TestClientFetchUsesAuthenticatedCommand
(t *testing.T)
git/client_test.go:1240
Function
TestClientFunc
(t *testing.T)
pkg/cmd/issue/artifact/shared/shared_test.go:18
Function
TestClientGitDirReportsNonRepository
(t *testing.T)
git/client_test.go:1106
Function
TestClientGitDirReturnsRepositoryMetadataDirectory
(t *testing.T)
git/client_test.go:1094
Function
TestClientHasLocalBranchFindsExistingBranch
(t *testing.T)
git/client_test.go:980
Function
TestClientHasLocalBranchRejectsMissingBranch
(t *testing.T)
git/client_test.go:992
Function
TestClientIsIgnoredReportsFatalGitError
(t *testing.T)
git/client_test.go:1820
Function
TestClientIsIgnoredReportsMissingGitExecutable
(t *testing.T)
git/client_test.go:1850
Function
TestClientIsIgnoredReturnsFalseForUnignoredPath
(t *testing.T)
git/client_test.go:1808
Function
TestClientIsIgnoredReturnsTrueForIgnoredPath
(t *testing.T)
git/client_test.go:1795
Function
TestClientIsIgnoredSeparatesPathFromOptions
(t *testing.T)
git/client_test.go:1836
Function
TestClientLastCommit
(t *testing.T)
git/client_test.go:497
Function
TestClientPathFromRootReturnsEmptyOutsideRepository
(t *testing.T)
git/client_test.go:1136
Function
TestClientPathFromRootReturnsNestedPath
(t *testing.T)
git/client_test.go:1122
Function
TestClientPullFastForwardsCurrentBranch
(t *testing.T)
git/client_test.go:1253
Function
TestClientPullRejectsNonFastForwardUpdate
(t *testing.T)
git/client_test.go:1280
Function
TestClientPullUsesAuthenticatedFastForwardOnlyCommand
(t *testing.T)
git/client_test.go:1308
Function
TestClientPushCreatesRemoteBranchAndUpstream
(t *testing.T)
git/client_test.go:1321
Function
TestClientPushDefaultPropagatesGitError
(t *testing.T)
git/client_test.go:746
Function
TestClientPushDefaultReturnsConfiguredValue
(t *testing.T)
git/client_test.go:733
← previous
next →
5,201–5,300 of 7,487, ranked by callers