 Documentation
      ¶
      Documentation
      ¶
    
    
  
    
  
    Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AddUploadContext ¶
AddUploadContext renders template values for dropzone
func AddUploadContextForRepo ¶ added in v1.25.0
func AddUploadContextForRepo(ctx reqctx.RequestContext, repo *repo_model.Repository)
func IsErrFileTypeForbidden ¶
IsErrFileTypeForbidden checks if an error is a ErrFileTypeForbidden.
Types ¶
type ErrFileTypeForbidden ¶
type ErrFileTypeForbidden struct {
	Type string
}
    ErrFileTypeForbidden not allowed file type error
func (ErrFileTypeForbidden) Error ¶
func (err ErrFileTypeForbidden) Error() string
 Click to show internal directories. 
   Click to hide internal directories.