You can not select more than 25 topics Topics must start with a chinese character,a letter or number, can include dashes ('-') and can be up to 35 characters long.

attachments.go 572 B

2 years ago
12345678910111213141516171819202122232425
  1. package repo
  2. import (
  3. "code.gitea.io/gitea/modules/context"
  4. routeRepo "code.gitea.io/gitea/routers/repo"
  5. )
  6. func GetSuccessChunks(ctx *context.APIContext) {
  7. routeRepo.GetSuccessChunks(ctx.Context)
  8. }
  9. func NewMultipart(ctx *context.APIContext) {
  10. routeRepo.NewMultipart(ctx.Context)
  11. }
  12. func GetMultipartUploadUrl(ctx *context.APIContext) {
  13. routeRepo.GetMultipartUploadUrl(ctx.Context)
  14. }
  15. func CompleteMultipart(ctx *context.APIContext) {
  16. routeRepo.CompleteMultipart(ctx.Context)
  17. }
  18. func GetAttachment(ctx *context.APIContext) {
  19. routeRepo.GetAttachment(ctx.Context)
  20. }