(args []string)
| 22 | } |
| 23 | |
| 24 | func (c *CmdReceivePack) Execute(args []string) error { |
| 25 | gitDir, err := filepath.Abs(c.Args.GitDir) |
| 26 | if err != nil { |
| 27 | return err |
| 28 | } |
| 29 | |
| 30 | if err := file.ServeReceivePack(gitDir); err != nil { |
| 31 | fmt.Fprintln(os.Stderr, "ERR:", err) |
| 32 | os.Exit(128) |
| 33 | } |
| 34 | |
| 35 | return nil |
| 36 | } |
nothing calls this directly
no test coverage detected