use of gopkg.in/toqueteos/substring.v1 in content.go to improve GetLanguagesByContent performance

This commit is contained in:
Manuel Carmona
2017-06-21 09:58:33 +02:00
parent b2b40bbfc5
commit 2045abfa41
14 changed files with 1763 additions and 856 deletions

View File

@ -2,7 +2,7 @@ package data
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/enry.v1/internal/code-generator
// THIS FILE SHOULD NOT BE EDITED BY HAND
// Extracted from github/linguist commit: b6460f8ed6b249281ada099ca28bd8f1230b8892
// Extracted from github/linguist commit: d5c8db3fb91963c4b2762ca2ea2ff7cfac109f68
var LanguagesByFilename = map[string][]string{
".Rprofile": {"R"},
@ -107,7 +107,7 @@ var LanguagesByFilename = map[string][]string{
"README.mysql": {"Text"},
"ROOT": {"Isabelle ROOT"},
"Rakefile": {"Ruby"},
"Rexfile": {"Perl6"},
"Rexfile": {"Perl 6"},
"SConscript": {"Python"},
"SConstruct": {"Python"},
"Settings.StyleCop": {"XML"},