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

Method Usage

cli/go-git/receive_pack.go:19–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

17}
18
19func (CmdReceivePack) Usage() string {
20 //TODO: git-receive-pack returns error code 129 if arguments are invalid.
21 return fmt.Sprintf("usage: %s <git-dir>", os.Args[0])
22}
23
24func (c *CmdReceivePack) Execute(args []string) error {
25 gitDir, err := filepath.Abs(c.Args.GitDir)

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected