package
1.24.0-dev
Repository: https://github.com/go-gitea/gitea.git
Documentation: pkg.go.dev

# Functions

NewAttachment creates a new attachment object, but do not verify.
UpdateAttachment updates an attachment, verifying that its name is among the allowed types.
UploadAttachment upload new attachment into storage and update database.