1
0
Fork 0
forked from forgejo/forgejo

Migrate to go-enry new version (#10906)

This commit is contained in:
Lauris BH 2020-04-15 20:40:39 +03:00 committed by GitHub
parent 7a67bcc204
commit 4dc62dadce
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
65 changed files with 111849 additions and 102276 deletions

View file

@ -12,10 +12,10 @@ import (
"code.gitea.io/gitea/modules/analyze"
"github.com/go-enry/go-enry/v2"
"github.com/go-git/go-git/v5"
"github.com/go-git/go-git/v5/plumbing"
"github.com/go-git/go-git/v5/plumbing/object"
"github.com/src-d/enry/v2"
)
const fileSizeLimit int64 = 16 * 1024 * 1024