MCPcopy
hub / github.com/cli/cli / Error

Method Error

pkg/cmd/secret/shared/base_repo.go:17–19  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

15}
16
17func (e AmbiguousBaseRepoError) Error() string {
18 return "multiple remotes detected. please specify which repo to use by providing the -R, --repo argument"
19}
20
21type baseRepoFn func() (ghrepo.Interface, error)
22type remotesFn func() (ghContext.Remotes, error)

Callers 15

TestNewCmdSendTelemetryFunction · 0.45
TestRunSendTelemetryFunction · 0.45
TestNewCmdSearchFunction · 0.45
TestSearchRunFunction · 0.45
TestScanInstalledSkillsFunction · 0.45
TestNewCmdListFunction · 0.45
TestListRunFunction · 0.45
TestNewCmdInstallFunction · 0.45
TestInstallRunFunction · 0.45

Calls

no outgoing calls

Tested by 15

TestNewCmdSendTelemetryFunction · 0.36
TestRunSendTelemetryFunction · 0.36
TestNewCmdSearchFunction · 0.36
TestSearchRunFunction · 0.36
TestScanInstalledSkillsFunction · 0.36
TestNewCmdListFunction · 0.36
TestListRunFunction · 0.36
TestNewCmdInstallFunction · 0.36
TestInstallRunFunction · 0.36