mirror of
				https://gitee.com/gitea/gitea
				synced 2025-11-04 08:30:25 +08:00 
			
		
		
		
	Migrate to go-enry new version (#10906)
This commit is contained in:
		@@ -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
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user