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

Method Usage

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

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected