MCPcopy
hub / github.com/Jguer/yay / fakeMenusCmdBuilder

Struct fakeMenusCmdBuilder

pkg/menus/menus_ops_test.go:91–94  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

89}
90
91type fakeMenusCmdBuilder struct {
92 captureFn func(*exec.Cmd) (string, string, error)
93 captureCnt int
94}
95
96func (f *fakeMenusCmdBuilder) BuildGitCmd(ctx context.Context, dir string, extraArgs ...string) *exec.Cmd {
97 return exec.CommandContext(ctx, "git", extraArgs...)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected