(c *context.Context)
| 82 | } |
| 83 | |
| 84 | func Fork(c *context.Context) { |
| 85 | c.Data["Title"] = c.Tr("new_fork") |
| 86 | |
| 87 | parseBaseRepository(c) |
| 88 | if c.Written() { |
| 89 | return |
| 90 | } |
| 91 | |
| 92 | c.Data["ContextUser"] = c.User |
| 93 | c.Success(tmplRepoPullsFork) |
| 94 | } |
| 95 | |
| 96 | func ForkPost(c *context.Context, f form.CreateRepo) { |
| 97 | c.Data["Title"] = c.Tr("new_fork") |
nothing calls this directly
no test coverage detected