Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
6
var
build string
7
8
type
CmdVersion
struct
{}
9
10
func
(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