(c *context.Context)
| 174 | } |
| 175 | |
| 176 | func RawDiff(c *context.Context) { |
| 177 | if err := c.Repo.GitRepo.RawDiff( |
| 178 | c.Params(":sha"), |
| 179 | git.RawDiffFormat(c.Params(":ext")), |
| 180 | c.Resp, |
| 181 | ); err != nil { |
| 182 | c.NotFoundOrError(gitutil.NewError(err), "get raw diff") |
| 183 | return |
| 184 | } |
| 185 | } |
| 186 | |
| 187 | type userCommit struct { |
| 188 | User *database.User |
nothing calls this directly
no test coverage detected