MCPcopy Create free account
hub / github.com/go-git/go-git / Execute

Method Execute

cli/go-git/version.go:10–14  ·  view source on GitHub ↗
(args []string)

Source from the content-addressed store, hash-verified

8type CmdVersion struct{}
9
10func (c *CmdVersion) Execute(args []string) error {
11 fmt.Printf("%s (%s) - build %s\n", bin, version, build)
12
13 return nil
14}

Callers

nothing calls this directly

Calls 1

PrintfMethod · 0.80

Tested by

no test coverage detected