MCPcopy Create free account
hub / github.com/google/gapid / run

Method run

core/git/git.go:51–53  ·  view source on GitHub ↗
(ctx context.Context, args ...interface{})

Source from the content-addressed store, hash-verified

49}
50
51func (g Git) run(ctx context.Context, args ...interface{}) (string, string, error) {
52 return g.runWithStdin(ctx, nil, args...)
53}
54
55func (g Git) runWithStdin(ctx context.Context, stdin io.Reader, args ...interface{}) (string, string, error) {
56 argstrs := make([]string, len(args))

Callers 11

RebaseMethod · 0.95
GetPatchMethod · 0.95
CurrentBranchMethod · 0.95
StatusMethod · 0.95
FetchMethod · 0.95
CheckoutMethod · 0.95
CheckoutBranchMethod · 0.95
ResetToHeadMethod · 0.95
LogFromMethod · 0.95
ParentMethod · 0.95
GetMethod · 0.95

Calls 1

runWithStdinMethod · 0.95

Tested by

no test coverage detected