MCPcopy Create free account
hub / github.com/appleboy/drone-git-push / execute

Function execute

utils.go:10–18  ·  view source on GitHub ↗
(cmd *exec.Cmd)

Source from the content-addressed store, hash-verified

8)
9
10func execute(cmd *exec.Cmd) error {
11 fmt.Println("+", strings.Join(cmd.Args, " "))
12
13 cmd.Env = os.Environ()
14 cmd.Stderr = os.Stderr
15 cmd.Stdin = os.Stdin
16
17 return cmd.Run()
18}

Callers 7

WriteConfigMethod · 0.85
HandleRemoteMethod · 0.85
HandleCommitMethod · 0.85
HandleTagMethod · 0.85
HandlePushMethod · 0.85
HandleRebaseMethod · 0.85
HandleCleanupMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected