Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
8
type
CmdVersion
struct
{}
9
10
func
(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
Printf
Method · 0.80
Tested by
no test coverage detected