MCPcopy Index your code
hub / github.com/coder/coder / gitRun

Function gitRun

scripts/releaser/git.go:25–30  ·  view source on GitHub ↗

gitRun runs a git command with stdout/stderr connected to the terminal.

(args ...string)

Source from the content-addressed store, hash-verified

23// gitRun runs a git command with stdout/stderr connected to the
24// terminal.
25func gitRun(args ...string) error {
26 cmd := exec.Command("git", args...)
27 cmd.Stdout = nil
28 cmd.Stderr = nil
29 return cmd.Run()
30}

Callers 4

runReleaseFunction · 0.85
CreateTagMethod · 0.85
PushTagMethod · 0.85
updateReleaseDocsFunction · 0.85

Calls 2

CommandMethod · 0.80
RunMethod · 0.65

Tested by

no test coverage detected