mirror of
				https://github.com/go-gitea/gitea.git
				synced 2025-10-31 21:28:11 +09:00 
			
		
		
		
	Language statistics bar for repositories (#8037)
* Implementation for calculating language statistics Impement saving code language statistics to database Implement rendering langauge stats Add primary laguage to show in repository list Implement repository stats indexer queue Add indexer test Refactor to use queue module * Do not timeout for queues
This commit is contained in:
		
							
								
								
									
										17
									
								
								vendor/github.com/src-d/enry/v2/regex/oniguruma.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										17
									
								
								vendor/github.com/src-d/enry/v2/regex/oniguruma.go
									
									
									
										generated
									
									
										vendored
									
									
										Normal file
									
								
							| @@ -0,0 +1,17 @@ | ||||
| // +build oniguruma | ||||
|  | ||||
| package regex | ||||
|  | ||||
| import ( | ||||
| 	rubex "github.com/src-d/go-oniguruma" | ||||
| ) | ||||
|  | ||||
| type EnryRegexp = *rubex.Regexp | ||||
|  | ||||
| func MustCompile(str string) EnryRegexp { | ||||
| 	return rubex.MustCompileASCII(str) | ||||
| } | ||||
|  | ||||
| func QuoteMeta(s string) string { | ||||
| 	return rubex.QuoteMeta(s) | ||||
| } | ||||
		Reference in New Issue
	
	Block a user