Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/cli/cli
/ Output
Method
Output
internal/run/run.go:18–18 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
16
// Runnable is typically an exec.Cmd or its stub in tests
17
type
Runnable
interface
{
18
Output() ([]byte, error)
19
Run() error
20
}
21
Callers
15
cmdOutput
Function · 0.65
initRepo
Function · 0.65
Remotes
Method · 0.65
UpdateRemoteURL
Method · 0.65
SetRemoteResolution
Method · 0.65
CurrentBranch
Method · 0.65
ShowRefs
Method · 0.65
Config
Method · 0.65
UncommittedChangeCount
Method · 0.65
Commits
Method · 0.65
lookupCommit
Method · 0.65
ReadBranchConfig
Method · 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
6
initRepo
Function · 0.52
Test_GhEditor_Prompt_skip
Function · 0.52
Test_GhEditor_Prompt_editorAppend
Function · 0.52
Test_GhEditor_Prompt_editorTruncate
Function · 0.52
TestSetsCorrectCommandInGitConfig
Function · 0.52
fillCredentials
Function · 0.52