Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/diillson/chatcli
/ Output
Method
Output
utils/exec_utils.go:9–9 ·
view source on GitHub ↗
(name string, arg ...string)
Source
from the content-addressed store, hash-verified
7
type
CommandExecutor
interface
{
8
Run(name string, arg ...string) error
9
Output(name string, arg ...string) ([]byte, error)
10
}
11
12
// OSCommandExecutor é a implementação real que usa os/exec.
Callers
15
importGraph
Function · 0.65
TestRun_EndToEnd
Function · 0.65
gitDiff
Function · 0.65
TestBinary_PrintsTotalPercent
Function · 0.65
Output
Method · 0.65
GetGitInfo
Function · 0.65
GetFileDiff
Function · 0.65
GetFileHistory
Function · 0.65
GetFileBlame
Function · 0.65
macGet
Method · 0.65
linuxGet
Method · 0.65
worktreeCreate
Method · 0.65
Implementers
2
MockCommandExecutor
utils/git_utils_test.go
OSCommandExecutor
utils/exec_utils.go
Calls
no outgoing calls
Tested by
2
TestRun_EndToEnd
Function · 0.52
TestBinary_PrintsTotalPercent
Function · 0.52