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

Struct CmdVersion

cli/go-git/version.go:8–8  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected