Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ Run
Method
Run
internal/run/run.go:19–19 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
17
type
Runnable
interface
{
18
Output() ([]byte, error)
19
Run() error
20
}
21
22
// PrepareCmd extends exec.Cmd with extra error reporting features and provides a
Callers
15
run
Function · 0.65
TestIsURL
Function · 0.65
TestParseURL
Function · 0.65
TestClientCommand
Function · 0.65
TestClientAuthenticatedCommand
Function · 0.65
TestClientUpdateRemoteURL
Function · 0.65
TestClientSetRemoteResolution
Function · 0.65
TestClientCurrentBranch
Function · 0.65
TestClientShowRefs
Function · 0.65
TestClientConfig
Function · 0.65
TestClientUncommittedChangeCount
Function · 0.65
TestClientCommits
Function · 0.65
Implementers
4
Command
git/command.go
OutputStub
test/helpers.go
cmdWithStderr
internal/run/run.go
commandStub
internal/run/stub.go
Calls
no outgoing calls
Tested by
15
TestIsURL
Function · 0.52
TestParseURL
Function · 0.52
TestClientCommand
Function · 0.52
TestClientAuthenticatedCommand
Function · 0.52
TestClientUpdateRemoteURL
Function · 0.52
TestClientSetRemoteResolution
Function · 0.52
TestClientCurrentBranch
Function · 0.52
TestClientShowRefs
Function · 0.52
TestClientConfig
Function · 0.52
TestClientUncommittedChangeCount
Function · 0.52
TestClientCommits
Function · 0.52
TestClientReadBranchConfig
Function · 0.52