MCPcopy
hub / github.com/caddyserver/caddy / showVersion

Function showVersion

cmd/packagesfuncs.go:273–278  ·  view source on GitHub ↗
(path string)

Source from the content-addressed store, hash-verified

271}
272
273func showVersion(path string) error {
274 cmd := exec.Command(path, "version")
275 cmd.Stdout = os.Stdout
276 cmd.Stderr = os.Stderr
277 return cmd.Run()
278}
279
280func downloadBuild(qs url.Values) (*http.Response, error) {
281 l := caddy.Log()

Callers 1

upgradeBuildFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected