Update go-enry dependency to v2.6.0 (#13861)
This commit is contained in:
parent
8561f26695
commit
4a510e08e4
18 changed files with 32345 additions and 25977 deletions
2
go.mod
2
go.mod
|
@ -40,7 +40,7 @@ require (
|
|||
github.com/gliderlabs/ssh v0.3.1
|
||||
github.com/glycerine/go-unsnap-stream v0.0.0-20190901134440-81cf024a9e0a // indirect
|
||||
github.com/go-chi/chi v1.5.0
|
||||
github.com/go-enry/go-enry/v2 v2.5.2
|
||||
github.com/go-enry/go-enry/v2 v2.6.0
|
||||
github.com/go-git/go-billy/v5 v5.0.0
|
||||
github.com/go-git/go-git/v5 v5.2.0
|
||||
github.com/go-ldap/ldap/v3 v3.2.4
|
||||
|
|
4
go.sum
4
go.sum
|
@ -327,8 +327,8 @@ github.com/go-asn1-ber/asn1-ber v1.5.1 h1:pDbRAunXzIUXfx4CB2QJFv5IuPiuoW+sWvr/Us
|
|||
github.com/go-asn1-ber/asn1-ber v1.5.1/go.mod h1:hEBeB/ic+5LoWskz+yKT7vGhhPYkProFKoKdwZRWMe0=
|
||||
github.com/go-chi/chi v1.5.0 h1:2ZcJZozJ+rj6BA0c19ffBUGXEKAT/aOLOtQjD46vBRA=
|
||||
github.com/go-chi/chi v1.5.0/go.mod h1:REp24E+25iKvxgeTfHmdUoL5x15kBiDBlnIl5bCwe2k=
|
||||
github.com/go-enry/go-enry/v2 v2.5.2 h1:3f3PFAO6JitWkPi1GQ5/m6Xu4gNL1U5soJ8QaYqJ0YQ=
|
||||
github.com/go-enry/go-enry/v2 v2.5.2/go.mod h1:GVzIiAytiS5uT/QiuakK7TF1u4xDab87Y8V5EJRpsIQ=
|
||||
github.com/go-enry/go-enry/v2 v2.6.0 h1:nbGWQBpO+D+cJuRxNgSDFnFY9QWz3QM/CeZxU7VAH20=
|
||||
github.com/go-enry/go-enry/v2 v2.6.0/go.mod h1:GVzIiAytiS5uT/QiuakK7TF1u4xDab87Y8V5EJRpsIQ=
|
||||
github.com/go-enry/go-oniguruma v1.2.1 h1:k8aAMuJfMrqm/56SG2lV9Cfti6tC4x8673aHCcBk+eo=
|
||||
github.com/go-enry/go-oniguruma v1.2.1/go.mod h1:bWDhYP+S6xZQgiRL7wlTScFYBe023B6ilRZbCAD5Hf4=
|
||||
github.com/go-git/gcfg v1.5.0 h1:Q5ViNfGF8zFgyJWPqYwA7qGFoMTEiBmdlkcfRmpIMa4=
|
||||
|
|
10
vendor/github.com/go-enry/go-enry/v2/README.md
generated
vendored
10
vendor/github.com/go-enry/go-enry/v2/README.md
generated
vendored
|
@ -150,16 +150,22 @@ macOS and linux platforms. Windows support is planned under [src-d/enry#150](htt
|
|||
|
||||
## Divergences from Linguist
|
||||
|
||||
The `enry` library is based on the data from `github/linguist` version **v7.9.0**.
|
||||
The `enry` library is based on the data from `github/linguist` version **v7.12.1**.
|
||||
|
||||
Parsing [linguist/samples](https://github.com/github/linguist/tree/master/samples) the following `enry` results are different from the Linguist:
|
||||
|
||||
- [Heuristics for ".txt" extension](https://github.com/github/linguist/blob/8083cb5a89cee2d99f5a988f165994d0243f0d1e/lib/linguist/heuristics.yml#L521) in Vim Help File could not be parsed, due to unsupported negative lookahead in RE2 regexp engine.
|
||||
|
||||
- [Heuristics for ".sol" extension](https://github.com/github/linguist/blob/8083cb5a89cee2d99f5a988f165994d0243f0d1e/lib/linguist/heuristics.yml#L464) in Solidity could not be parsed, due to unsupported negative lookahead in RE2 regexp engine.
|
||||
|
||||
- [Heuristics for ".es" extension](https://github.com/github/linguist/blob/e761f9b013e5b61161481fcb898b59721ee40e3d/lib/linguist/heuristics.yml#L103) in JavaScript could not be parsed, due to unsupported backreference in RE2 regexp engine.
|
||||
|
||||
- [Heuristics for ".rno" extension](https://github.com/github/linguist/blob/3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d/lib/linguist/heuristics.yml#L365) in RUNOFF could not be parsed, due to unsupported lookahead in RE2 regexp engine.
|
||||
|
||||
- [Heuristics for ".inc" extension](https://github.com/github/linguist/blob/f0e2d0d7f1ce600b2a5acccaef6b149c87d8b99c/lib/linguist/heuristics.yml#L222) in NASL could not be parsed, due to unsupported possessive quantifier in RE2 regexp engine.
|
||||
|
||||
- [Heuristics for ".as" extension](https://github.com/github/linguist/blob/223c00bb80eff04788e29010f98c5778993d2b2a/lib/linguist/heuristics.yml#L67) in ActionScript could not be parsed, due to unsupported positive lookahead in RE2 regexp engine.
|
||||
|
||||
- As of [Linguist v5.3.2](https://github.com/github/linguist/releases/tag/v5.3.2) it is using [flex-based scanner in C for tokenization](https://github.com/github/linguist/pull/3846). Enry still uses [extract_token](https://github.com/github/linguist/pull/3846/files#diff-d5179df0b71620e3fac4535cd1368d15L60) regex-based algorithm. See [#193](https://github.com/src-d/enry/issues/193).
|
||||
|
||||
- Bayesian classifier can't distinguish "SQL" from "PLpgSQL. See [#194](https://github.com/src-d/enry/issues/194).
|
||||
|
@ -167,8 +173,6 @@ Parsing [linguist/samples](https://github.com/github/linguist/tree/master/sample
|
|||
- Detection of [generated files](https://github.com/github/linguist/blob/bf95666fc15e49d556f2def4d0a85338423c25f3/lib/linguist/generated.rb#L53) is not supported yet.
|
||||
(Thus they are not excluded from CLI output). See [#213](https://github.com/src-d/enry/issues/213).
|
||||
|
||||
- XML detection strategy is not implemented. See [#192](https://github.com/src-d/enry/issues/192).
|
||||
|
||||
- Overriding languages and types though `.gitattributes` is not yet supported. See [#18](https://github.com/src-d/enry/issues/18).
|
||||
|
||||
- `enry` CLI output does NOT exclude `.gitignore`ed files and git submodules, as Linguist does
|
||||
|
|
59
vendor/github.com/go-enry/go-enry/v2/common.go
generated
vendored
59
vendor/github.com/go-enry/go-enry/v2/common.go
generated
vendored
|
@ -22,6 +22,8 @@ var DefaultStrategies = []Strategy{
|
|||
GetLanguagesByFilename,
|
||||
GetLanguagesByShebang,
|
||||
GetLanguagesByExtension,
|
||||
GetLanguagesByXML,
|
||||
GetLanguagesByManpage,
|
||||
GetLanguagesByContent,
|
||||
GetLanguagesByClassifier,
|
||||
}
|
||||
|
@ -328,15 +330,23 @@ func getInterpreter(data []byte) (interpreter string) {
|
|||
return
|
||||
}
|
||||
|
||||
func getFirstLine(content []byte) []byte {
|
||||
nlpos := bytes.IndexByte(content, '\n')
|
||||
if nlpos < 0 {
|
||||
func getFirstLines(content []byte, count int) []byte {
|
||||
nlpos := -1
|
||||
for ; count > 0; count-- {
|
||||
pos := bytes.IndexByte(content[nlpos+1:], '\n')
|
||||
if pos < 0 {
|
||||
return content
|
||||
}
|
||||
nlpos += pos + 1
|
||||
}
|
||||
|
||||
return content[:nlpos]
|
||||
}
|
||||
|
||||
func getFirstLine(content []byte) []byte {
|
||||
return getFirstLines(content, 1)
|
||||
}
|
||||
|
||||
func hasShebang(line []byte) bool {
|
||||
const shebang = `#!`
|
||||
prefix := []byte(shebang)
|
||||
|
@ -383,6 +393,49 @@ func GetLanguagesByExtension(filename string, _ []byte, _ []string) []string {
|
|||
return nil
|
||||
}
|
||||
|
||||
var (
|
||||
manpageExtension = regex.MustCompile(`\.(?:[1-9](?:[a-z_]+[a-z_0-9]*)?|0p|n|man|mdoc)(?:\.in)?$`)
|
||||
)
|
||||
|
||||
// GetLanguagesByManpage returns a slice of possible manpage languages for the given filename.
|
||||
// It complies with the signature to be a Strategy type.
|
||||
func GetLanguagesByManpage(filename string, _ []byte, _ []string) []string {
|
||||
filename = strings.ToLower(filename)
|
||||
|
||||
// Check if matches Roff man page filenames
|
||||
if manpageExtension.Match([]byte(filename)) {
|
||||
return []string{
|
||||
"Roff Manpage",
|
||||
"Roff",
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
var (
|
||||
xmlHeader = regex.MustCompile(`<?xml version=`)
|
||||
)
|
||||
|
||||
// GetLanguagesByXML returns a slice of possible XML language for the given filename.
|
||||
// It complies with the signature to be a Strategy type.
|
||||
func GetLanguagesByXML(_ string, content []byte, candidates []string) []string {
|
||||
if len(candidates) > 0 {
|
||||
return candidates
|
||||
}
|
||||
|
||||
header := getFirstLines(content, 2)
|
||||
|
||||
// Check if contains XML header
|
||||
if xmlHeader.Match(header) {
|
||||
return []string{
|
||||
"XML",
|
||||
}
|
||||
}
|
||||
|
||||
return nil
|
||||
}
|
||||
|
||||
func getDotIndexes(filename string) []int {
|
||||
dots := make([]int, 0, 2)
|
||||
for i, letter := range filename {
|
||||
|
|
40
vendor/github.com/go-enry/go-enry/v2/data/alias.go
generated
vendored
40
vendor/github.com/go-enry/go-enry/v2/data/alias.go
generated
vendored
|
@ -1,5 +1,5 @@
|
|||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
||||
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||
|
||||
package data
|
||||
|
||||
|
@ -31,6 +31,7 @@ var LanguageByAliasMap = map[string]string{
|
|||
"ags": "AGS Script",
|
||||
"ags_script": "AGS Script",
|
||||
"ahk": "AutoHotkey",
|
||||
"al": "AL",
|
||||
"alloy": "Alloy",
|
||||
"alpine_abuild": "Alpine Abuild",
|
||||
"altium": "Altium Designer",
|
||||
|
@ -53,12 +54,14 @@ var LanguageByAliasMap = map[string]string{
|
|||
"arexx": "REXX",
|
||||
"as3": "ActionScript",
|
||||
"asciidoc": "AsciiDoc",
|
||||
"asl": "ASL",
|
||||
"asm": "Assembly",
|
||||
"asn.1": "ASN.1",
|
||||
"asp": "ASP",
|
||||
"asp": "Classic ASP",
|
||||
"asp.net": "ASP.NET",
|
||||
"aspectj": "AspectJ",
|
||||
"aspx": "ASP",
|
||||
"aspx-vb": "ASP",
|
||||
"aspx": "ASP.NET",
|
||||
"aspx-vb": "ASP.NET",
|
||||
"assembly": "Assembly",
|
||||
"asymptote": "Asymptote",
|
||||
"ats": "ATS",
|
||||
|
@ -70,6 +73,7 @@ var LanguageByAliasMap = map[string]string{
|
|||
"autoit": "AutoIt",
|
||||
"autoit3": "AutoIt",
|
||||
"autoitscript": "AutoIt",
|
||||
"avro_idl": "Avro IDL",
|
||||
"awk": "Awk",
|
||||
"b3d": "BlitzBasic",
|
||||
"ballerina": "Ballerina",
|
||||
|
@ -120,6 +124,7 @@ var LanguageByAliasMap = map[string]string{
|
|||
"chuck": "ChucK",
|
||||
"cirru": "Cirru",
|
||||
"clarion": "Clarion",
|
||||
"classic_asp": "Classic ASP",
|
||||
"clean": "Clean",
|
||||
"click": "Click",
|
||||
"clipper": "xBase",
|
||||
|
@ -172,6 +177,7 @@ var LanguageByAliasMap = map[string]string{
|
|||
"cython": "Cython",
|
||||
"d": "D",
|
||||
"d-objdump": "D-ObjDump",
|
||||
"dafny": "Dafny",
|
||||
"darcs_patch": "Darcs Patch",
|
||||
"dart": "Dart",
|
||||
"dataweave": "DataWeave",
|
||||
|
@ -238,6 +244,7 @@ var LanguageByAliasMap = map[string]string{
|
|||
"formatted": "Formatted",
|
||||
"forth": "Forth",
|
||||
"fortran": "Fortran",
|
||||
"fortran_free_form": "Fortran Free Form",
|
||||
"foxpro": "xBase",
|
||||
"freemarker": "FreeMarker",
|
||||
"frege": "Frege",
|
||||
|
@ -245,6 +252,7 @@ var LanguageByAliasMap = map[string]string{
|
|||
"fstar": "F*",
|
||||
"ftl": "FreeMarker",
|
||||
"fundamental": "Text",
|
||||
"futhark": "Futhark",
|
||||
"g-code": "G-code",
|
||||
"game_maker_language": "Game Maker Language",
|
||||
"gaml": "GAML",
|
||||
|
@ -253,6 +261,7 @@ var LanguageByAliasMap = map[string]string{
|
|||
"gcc_machine_description": "GCC Machine Description",
|
||||
"gdb": "GDB",
|
||||
"gdscript": "GDScript",
|
||||
"gedcom": "GEDCOM",
|
||||
"genie": "Genie",
|
||||
"genshi": "Genshi",
|
||||
"gentoo_ebuild": "Gentoo Ebuild",
|
||||
|
@ -308,7 +317,7 @@ var LanguageByAliasMap = map[string]string{
|
|||
"html+jinja": "HTML+Django",
|
||||
"html+php": "HTML+PHP",
|
||||
"html+razor": "HTML+Razor",
|
||||
"html+ruby": "RHTML",
|
||||
"html+ruby": "HTML+ERB",
|
||||
"htmlbars": "Handlebars",
|
||||
"htmldjango": "HTML+Django",
|
||||
"http": "HTTP",
|
||||
|
@ -363,18 +372,22 @@ var LanguageByAliasMap = map[string]string{
|
|||
"jsx": "JSX",
|
||||
"julia": "Julia",
|
||||
"jupyter_notebook": "Jupyter Notebook",
|
||||
"kaitai_struct": "Kaitai Struct",
|
||||
"kicad_layout": "KiCad Layout",
|
||||
"kicad_legacy_layout": "KiCad Legacy Layout",
|
||||
"kicad_schematic": "KiCad Schematic",
|
||||
"kit": "Kit",
|
||||
"kotlin": "Kotlin",
|
||||
"krl": "KRL",
|
||||
"ksy": "Kaitai Struct",
|
||||
"labview": "LabVIEW",
|
||||
"lark": "Lark",
|
||||
"lasso": "Lasso",
|
||||
"lassoscript": "Lasso",
|
||||
"latex": "TeX",
|
||||
"latte": "Latte",
|
||||
"lean": "Lean",
|
||||
"leex": "HTML+EEX",
|
||||
"less": "Less",
|
||||
"lex": "Lex",
|
||||
"lfe": "LFE",
|
||||
|
@ -403,9 +416,11 @@ var LanguageByAliasMap = map[string]string{
|
|||
"ltspice_symbol": "LTspice Symbol",
|
||||
"lua": "Lua",
|
||||
"m": "M",
|
||||
"m2": "Macaulay2",
|
||||
"m4": "M4",
|
||||
"m4sugar": "M4Sugar",
|
||||
"m68k": "Motorola 68K Assembly",
|
||||
"macaulay2": "Macaulay2",
|
||||
"macruby": "Ruby",
|
||||
"make": "Makefile",
|
||||
"makefile": "Makefile",
|
||||
|
@ -453,18 +468,22 @@ var LanguageByAliasMap = map[string]string{
|
|||
"mumps": "M",
|
||||
"mupad": "mupad",
|
||||
"muse": "Muse",
|
||||
"mustache": "Mustache",
|
||||
"myghty": "Myghty",
|
||||
"nanorc": "nanorc",
|
||||
"nasl": "NASL",
|
||||
"nasm": "Assembly",
|
||||
"ncl": "NCL",
|
||||
"ne-on": "NEON",
|
||||
"nearley": "Nearley",
|
||||
"nemerle": "Nemerle",
|
||||
"neon": "NEON",
|
||||
"neosnippet": "Vim Snippet",
|
||||
"nesc": "nesC",
|
||||
"netlinx": "NetLinx",
|
||||
"netlinx+erb": "NetLinx+ERB",
|
||||
"netlogo": "NetLogo",
|
||||
"nette_object_notation": "NEON",
|
||||
"newlisp": "NewLisp",
|
||||
"nextflow": "Nextflow",
|
||||
"nginx": "Nginx",
|
||||
|
@ -486,6 +505,7 @@ var LanguageByAliasMap = map[string]string{
|
|||
"nunjucks": "HTML+Django",
|
||||
"nush": "Nu",
|
||||
"nvim": "Vim script",
|
||||
"nwscript": "NWScript",
|
||||
"obj-c": "Objective-C",
|
||||
"obj-c++": "Objective-C++",
|
||||
"obj-j": "Objective-J",
|
||||
|
@ -589,9 +609,12 @@ var LanguageByAliasMap = map[string]string{
|
|||
"python_console": "Python console",
|
||||
"python_traceback": "Python traceback",
|
||||
"q": "q",
|
||||
"q#": "Q#",
|
||||
"ql": "CodeQL",
|
||||
"qmake": "QMake",
|
||||
"qml": "QML",
|
||||
"qsharp": "Q#",
|
||||
"qt_script": "Qt Script",
|
||||
"quake": "Quake",
|
||||
"r": "R",
|
||||
"racket": "Racket",
|
||||
|
@ -622,9 +645,10 @@ var LanguageByAliasMap = map[string]string{
|
|||
"ren'py": "Ren'Py",
|
||||
"renderscript": "RenderScript",
|
||||
"renpy": "Ren'Py",
|
||||
"rescript": "ReScript",
|
||||
"restructuredtext": "reStructuredText",
|
||||
"rexx": "REXX",
|
||||
"rhtml": "RHTML",
|
||||
"rhtml": "HTML+ERB",
|
||||
"rich_text_format": "Rich Text Format",
|
||||
"ring": "Ring",
|
||||
"riot": "Riot",
|
||||
|
@ -663,6 +687,7 @@ var LanguageByAliasMap = map[string]string{
|
|||
"shell-script": "Shell",
|
||||
"shellsession": "ShellSession",
|
||||
"shen": "Shen",
|
||||
"sieve": "Sieve",
|
||||
"slash": "Slash",
|
||||
"slice": "Slice",
|
||||
"slim": "Slim",
|
||||
|
@ -720,6 +745,7 @@ var LanguageByAliasMap = map[string]string{
|
|||
"troff": "Roff",
|
||||
"ts": "TypeScript",
|
||||
"tsql": "TSQL",
|
||||
"tsv": "TSV",
|
||||
"tsx": "TSX",
|
||||
"turing": "Turing",
|
||||
"turtle": "Turtle",
|
||||
|
@ -750,8 +776,10 @@ var LanguageByAliasMap = map[string]string{
|
|||
"verilog": "Verilog",
|
||||
"vhdl": "VHDL",
|
||||
"vim": "Vim script",
|
||||
"vim_help_file": "Vim Help File",
|
||||
"vim_script": "Vim script",
|
||||
"vim_snippet": "Vim Snippet",
|
||||
"vimhelp": "Vim Help File",
|
||||
"viml": "Vim script",
|
||||
"visual_basic": "Visual Basic .NET",
|
||||
"visual_basic_.net": "Visual Basic .NET",
|
||||
|
|
57
vendor/github.com/go-enry/go-enry/v2/data/colors.go
generated
vendored
57
vendor/github.com/go-enry/go-enry/v2/data/colors.go
generated
vendored
|
@ -1,5 +1,5 @@
|
|||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
||||
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||
|
||||
package data
|
||||
|
||||
|
@ -7,42 +7,50 @@ var LanguagesColor = map[string]string{
|
|||
"1C Enterprise": "#814CCC",
|
||||
"ABAP": "#E8274B",
|
||||
"AGS Script": "#B9D9FF",
|
||||
"AL": "#3AA2B5",
|
||||
"AMPL": "#E6EFBB",
|
||||
"ANTLR": "#9DC3FF",
|
||||
"API Blueprint": "#2ACCA8",
|
||||
"APL": "#5A8164",
|
||||
"ASP": "#6a40fd",
|
||||
"ASP.NET": "#9400ff",
|
||||
"ATS": "#1ac620",
|
||||
"ActionScript": "#882B0F",
|
||||
"Ada": "#02f88c",
|
||||
"Agda": "#315665",
|
||||
"Alloy": "#64C800",
|
||||
"AngelScript": "#C7D7DC",
|
||||
"Apex": "#1797c0",
|
||||
"Apollo Guidance Computer": "#0B3D91",
|
||||
"AppleScript": "#101F1F",
|
||||
"Arc": "#aa2afe",
|
||||
"AspectJ": "#a957b0",
|
||||
"Assembly": "#6E4C13",
|
||||
"Asymptote": "#4a0c0c",
|
||||
"Asymptote": "#ff0000",
|
||||
"AutoHotkey": "#6594b9",
|
||||
"AutoIt": "#1C3552",
|
||||
"Ballerina": "#FF5000",
|
||||
"Batchfile": "#C1F12E",
|
||||
"Bison": "#6A463F",
|
||||
"Blade": "#f7523f",
|
||||
"BlitzMax": "#cd6400",
|
||||
"Boo": "#d4bec1",
|
||||
"Brainfuck": "#2F2530",
|
||||
"C": "#555555",
|
||||
"C#": "#178600",
|
||||
"C++": "#f34b7d",
|
||||
"CSON": "#244776",
|
||||
"CSS": "#563d7c",
|
||||
"Ceylon": "#dfa535",
|
||||
"Chapel": "#8dc63f",
|
||||
"Cirru": "#ccccff",
|
||||
"Clarion": "#db901e",
|
||||
"Classic ASP": "#6a40fd",
|
||||
"Clean": "#3F85AF",
|
||||
"Click": "#E4E6F3",
|
||||
"Clojure": "#db5855",
|
||||
"CoffeeScript": "#244776",
|
||||
"ColdFusion": "#ed2cd6",
|
||||
"ColdFusion CFC": "#ed2cd6",
|
||||
"Common Lisp": "#3fb68b",
|
||||
"Common Workflow Language": "#B5314C",
|
||||
"Component Pascal": "#B0CE4E",
|
||||
|
@ -50,6 +58,7 @@ var LanguagesColor = map[string]string{
|
|||
"Cuda": "#3A4E3A",
|
||||
"D": "#ba595e",
|
||||
"DM": "#447265",
|
||||
"Dafny": "#FFEC25",
|
||||
"Dart": "#00B4AB",
|
||||
"DataWeave": "#003a52",
|
||||
"Dhall": "#dfafff",
|
||||
|
@ -58,8 +67,9 @@ var LanguagesColor = map[string]string{
|
|||
"Dylan": "#6c616e",
|
||||
"E": "#ccce35",
|
||||
"ECL": "#8a1267",
|
||||
"EJS": "#a91e50",
|
||||
"EQ": "#a78649",
|
||||
"Eiffel": "#946d57",
|
||||
"Eiffel": "#4d6977",
|
||||
"Elixir": "#6e4a7e",
|
||||
"Elm": "#60B5CC",
|
||||
"Emacs Lisp": "#c065db",
|
||||
|
@ -76,6 +86,7 @@ var LanguagesColor = map[string]string{
|
|||
"Fortran": "#4d41b1",
|
||||
"FreeMarker": "#0050b2",
|
||||
"Frege": "#00cafe",
|
||||
"Futhark": "#5f021f",
|
||||
"G-code": "#D08CF2",
|
||||
"GAML": "#FFC766",
|
||||
"GDScript": "#355570",
|
||||
|
@ -87,10 +98,13 @@ var LanguagesColor = map[string]string{
|
|||
"Go": "#00ADD8",
|
||||
"Golo": "#88562A",
|
||||
"Gosu": "#82937f",
|
||||
"Grammatical Framework": "#79aa7a",
|
||||
"Grammatical Framework": "#ff0000",
|
||||
"GraphQL": "#e10098",
|
||||
"Groovy": "#e69f56",
|
||||
"HTML": "#e34c26",
|
||||
"Hack": "#878787",
|
||||
"Haml": "#ece2a9",
|
||||
"Handlebars": "#f7931e",
|
||||
"Harbour": "#0e60e3",
|
||||
"Haskell": "#5e5086",
|
||||
"Haxe": "#df7900",
|
||||
|
@ -104,6 +118,7 @@ var LanguagesColor = map[string]string{
|
|||
"Ioke": "#078193",
|
||||
"Isabelle": "#FEFE00",
|
||||
"J": "#9EEDFF",
|
||||
"JFlex": "#DBCA00",
|
||||
"JSONiq": "#40d47e",
|
||||
"Java": "#b07219",
|
||||
"JavaScript": "#f1e05a",
|
||||
|
@ -112,12 +127,16 @@ var LanguagesColor = map[string]string{
|
|||
"Julia": "#a270ba",
|
||||
"Jupyter Notebook": "#DA5B0B",
|
||||
"KRL": "#28430A",
|
||||
"Kaitai Struct": "#773b37",
|
||||
"Kotlin": "#F18E33",
|
||||
"LFE": "#4C3023",
|
||||
"LLVM": "#185619",
|
||||
"LOLCODE": "#cc9900",
|
||||
"LSL": "#3d9970",
|
||||
"Lark": "#0b130f",
|
||||
"Lasso": "#999999",
|
||||
"Latte": "#f2a542",
|
||||
"Less": "#1d365d",
|
||||
"Lex": "#DBCA00",
|
||||
"LiveScript": "#499886",
|
||||
"LookML": "#652B81",
|
||||
|
@ -128,7 +147,10 @@ var LanguagesColor = map[string]string{
|
|||
"MQL4": "#62A8D6",
|
||||
"MQL5": "#4A76B8",
|
||||
"MTML": "#b7e1f4",
|
||||
"Macaulay2": "#d8ffff",
|
||||
"Makefile": "#427819",
|
||||
"Markdown": "#083fa1",
|
||||
"Marko": "#42bff2",
|
||||
"Mask": "#f97732",
|
||||
"Max": "#c4a79c",
|
||||
"Mercury": "#ff2b2b",
|
||||
|
@ -137,6 +159,7 @@ var LanguagesColor = map[string]string{
|
|||
"Mirah": "#c7a938",
|
||||
"Modula-3": "#223388",
|
||||
"NCL": "#28431f",
|
||||
"NWScript": "#111522",
|
||||
"Nearley": "#990000",
|
||||
"Nemerle": "#3d3c6e",
|
||||
"NetLinx": "#0aa0ff",
|
||||
|
@ -144,10 +167,11 @@ var LanguagesColor = map[string]string{
|
|||
"NetLogo": "#ff6375",
|
||||
"NewLisp": "#87AED7",
|
||||
"Nextflow": "#3ac486",
|
||||
"Nim": "#37775b",
|
||||
"Nim": "#ffc200",
|
||||
"Nit": "#009917",
|
||||
"Nix": "#7e7eff",
|
||||
"Nu": "#c9df40",
|
||||
"NumPy": "#9C8AF9",
|
||||
"OCaml": "#3be133",
|
||||
"ObjectScript": "#424893",
|
||||
"Objective-C": "#438eff",
|
||||
|
@ -175,14 +199,18 @@ var LanguagesColor = map[string]string{
|
|||
"PostScript": "#da291c",
|
||||
"PowerBuilder": "#8f0f8d",
|
||||
"PowerShell": "#012456",
|
||||
"Prisma": "#0c344b",
|
||||
"Processing": "#0096D8",
|
||||
"Prolog": "#74283c",
|
||||
"Propeller Spin": "#7fa2a7",
|
||||
"Pug": "#a86454",
|
||||
"Puppet": "#302B6D",
|
||||
"PureBasic": "#5a6986",
|
||||
"PureScript": "#1D222D",
|
||||
"Python": "#3572A5",
|
||||
"Q#": "#fed659",
|
||||
"QML": "#44a51c",
|
||||
"Qt Script": "#00b841",
|
||||
"Quake": "#882233",
|
||||
"R": "#198CE7",
|
||||
"RAML": "#77d9fb",
|
||||
|
@ -191,6 +219,7 @@ var LanguagesColor = map[string]string{
|
|||
"Ragel": "#9d5200",
|
||||
"Raku": "#0000fb",
|
||||
"Rascal": "#fffaa0",
|
||||
"ReScript": "#ed5051",
|
||||
"Reason": "#ff5847",
|
||||
"Rebol": "#358a5b",
|
||||
"Red": "#f50000",
|
||||
|
@ -202,9 +231,12 @@ var LanguagesColor = map[string]string{
|
|||
"Ruby": "#701516",
|
||||
"Rust": "#dea584",
|
||||
"SAS": "#B34936",
|
||||
"SCSS": "#c6538c",
|
||||
"SQF": "#3F3F3F",
|
||||
"SRecode Template": "#348a34",
|
||||
"SVG": "#ff9900",
|
||||
"SaltStack": "#646464",
|
||||
"Sass": "#a53b70",
|
||||
"Scala": "#c22d40",
|
||||
"Scheme": "#1e4aec",
|
||||
"Self": "#0579aa",
|
||||
|
@ -212,15 +244,18 @@ var LanguagesColor = map[string]string{
|
|||
"Shen": "#120F14",
|
||||
"Slash": "#007eff",
|
||||
"Slice": "#003fa2",
|
||||
"Slim": "#2b2b2b",
|
||||
"SmPL": "#c94949",
|
||||
"Smalltalk": "#596706",
|
||||
"Solidity": "#AA6746",
|
||||
"SourcePawn": "#5c7611",
|
||||
"SourcePawn": "#f69e1d",
|
||||
"Squirrel": "#800000",
|
||||
"Stan": "#b2011d",
|
||||
"Standard ML": "#dc566d",
|
||||
"Starlark": "#76d275",
|
||||
"Stylus": "#ff6347",
|
||||
"SuperCollider": "#46390b",
|
||||
"Svelte": "#ff3e00",
|
||||
"Swift": "#ffac45",
|
||||
"SystemVerilog": "#DAE1C2",
|
||||
"TI Program": "#A0AA87",
|
||||
|
@ -228,9 +263,12 @@ var LanguagesColor = map[string]string{
|
|||
"TeX": "#3D6117",
|
||||
"Terra": "#00004c",
|
||||
"Turing": "#cf142b",
|
||||
"Twig": "#c1d026",
|
||||
"TypeScript": "#2b7489",
|
||||
"Unified Parallel C": "#4e3617",
|
||||
"Uno": "#9933cc",
|
||||
"UnrealScript": "#a54c4d",
|
||||
"V": "#5d87bd",
|
||||
"V": "#4f87c4",
|
||||
"VBA": "#867db1",
|
||||
"VBScript": "#15dcdc",
|
||||
"VCL": "#148AA8",
|
||||
|
@ -247,6 +285,7 @@ var LanguagesColor = map[string]string{
|
|||
"XC": "#99DA07",
|
||||
"XQuery": "#5232e7",
|
||||
"XSLT": "#EB8CEB",
|
||||
"YAML": "#cb171e",
|
||||
"YARA": "#220000",
|
||||
"YASnippet": "#32AB90",
|
||||
"Yacc": "#4B6C4B",
|
||||
|
@ -256,7 +295,7 @@ var LanguagesColor = map[string]string{
|
|||
"Zephir": "#118f9e",
|
||||
"Zig": "#ec915c",
|
||||
"eC": "#913960",
|
||||
"mIRC Script": "#926059",
|
||||
"mIRC Script": "#3d57c3",
|
||||
"mcfunction": "#E22837",
|
||||
"nesC": "#94B0C7",
|
||||
"ooc": "#b0b77e",
|
||||
|
|
4
vendor/github.com/go-enry/go-enry/v2/data/commit.go
generated
vendored
4
vendor/github.com/go-enry/go-enry/v2/data/commit.go
generated
vendored
|
@ -1,7 +1,7 @@
|
|||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
||||
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||
|
||||
package data
|
||||
|
||||
// linguist's commit from which files were generated.
|
||||
var LinguistCommit = "40992ba7f86889f80dfed3ba95e11e1082200bad"
|
||||
var LinguistCommit = "223c00bb80eff04788e29010f98c5778993d2b2a"
|
||||
|
|
133
vendor/github.com/go-enry/go-enry/v2/data/content.go
generated
vendored
133
vendor/github.com/go-enry/go-enry/v2/data/content.go
generated
vendored
|
@ -1,5 +1,5 @@
|
|||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
||||
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||
|
||||
package data
|
||||
|
||||
|
@ -37,8 +37,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||
),
|
||||
),
|
||||
rule.Always(
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Roff"),
|
||||
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||
),
|
||||
},
|
||||
".1in": &Heuristics{
|
||||
|
@ -161,8 +162,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||
),
|
||||
),
|
||||
rule.Always(
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Roff"),
|
||||
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||
),
|
||||
},
|
||||
".3": &Heuristics{
|
||||
|
@ -192,8 +194,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||
),
|
||||
),
|
||||
rule.Always(
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Roff"),
|
||||
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||
),
|
||||
},
|
||||
".3in": &Heuristics{
|
||||
|
@ -409,8 +412,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||
),
|
||||
),
|
||||
rule.Always(
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Roff"),
|
||||
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||
),
|
||||
},
|
||||
".5": &Heuristics{
|
||||
|
@ -440,8 +444,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||
),
|
||||
),
|
||||
rule.Always(
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Roff"),
|
||||
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||
),
|
||||
},
|
||||
".6": &Heuristics{
|
||||
|
@ -471,8 +476,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||
),
|
||||
),
|
||||
rule.Always(
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Roff"),
|
||||
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||
),
|
||||
},
|
||||
".7": &Heuristics{
|
||||
|
@ -502,8 +508,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||
),
|
||||
),
|
||||
rule.Always(
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Roff"),
|
||||
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||
),
|
||||
},
|
||||
".8": &Heuristics{
|
||||
|
@ -533,8 +540,9 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||
),
|
||||
),
|
||||
rule.Always(
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Roff"),
|
||||
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||
),
|
||||
},
|
||||
".9": &Heuristics{
|
||||
|
@ -564,19 +572,24 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
regexp.MustCompile(`(?m)^[.'][ \t]*SH +(?:[^"\s]+|"[^"\s]+)`),
|
||||
),
|
||||
),
|
||||
rule.Always(
|
||||
rule.MatchingLanguages("Roff"),
|
||||
),
|
||||
},
|
||||
".as": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("ActionScript"),
|
||||
regexp.MustCompile(`(?m)^\s*(package\s+[a-z0-9_\.]+|import\s+[a-zA-Z0-9_\.]+;|class\s+[A-Za-z0-9_]+\s+extends\s+[A-Za-z0-9_]+)`),
|
||||
),
|
||||
rule.Always(
|
||||
rule.MatchingLanguages("AngelScript"),
|
||||
rule.MatchingLanguages("Roff"),
|
||||
regexp.MustCompile(`(?m)^\.(?:[A-Za-z]{2}(?:\s|$)|\\")`),
|
||||
),
|
||||
},
|
||||
".al": &Heuristics{
|
||||
rule.And(
|
||||
rule.MatchingLanguages("AL"),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages(""),
|
||||
regexp.MustCompile(`(?m)\b(?i:(CODEUNIT|PAGE|PAGEEXTENSION|PAGECUSTOMIZATION|DOTNET|ENUM|ENUMEXTENSION|VALUE|QUERY|REPORT|TABLE|TABLEEXTENSION|XMLPORT|PROFILE|CONTROLADDIN))\b`),
|
||||
),
|
||||
),
|
||||
rule.Always(
|
||||
rule.MatchingLanguages("Perl"),
|
||||
),
|
||||
},
|
||||
".as": &Heuristics{},
|
||||
".asc": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Public Key"),
|
||||
|
@ -621,9 +634,6 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
rule.MatchingLanguages("XML"),
|
||||
regexp.MustCompile(`(?m)^(\s*)(?i:<Project|<Import|<Property|<?xml|xmlns)`),
|
||||
),
|
||||
rule.Always(
|
||||
rule.MatchingLanguages("Text"),
|
||||
),
|
||||
},
|
||||
".ch": &Heuristics{
|
||||
rule.Or(
|
||||
|
@ -794,7 +804,11 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Gosu"),
|
||||
regexp.MustCompile(`(?m)^uses java\.`),
|
||||
regexp.MustCompile(`(?m)^uses (java|gw)\.`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Genie"),
|
||||
regexp.MustCompile(`(?m)^\[indent=[0-9]+\]`),
|
||||
),
|
||||
},
|
||||
".h": &Heuristics{
|
||||
|
@ -1233,16 +1247,6 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
regexp.MustCompile(`(?m)^[^#!][^:]*:`),
|
||||
),
|
||||
},
|
||||
".props": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("XML"),
|
||||
regexp.MustCompile(`(?m)^(\s*)(?i:<Project|<Import|<Property|<\?xml|xmlns)`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("INI"),
|
||||
regexp.MustCompile(`(?m)(?i:\w+\s*=\s*)`),
|
||||
),
|
||||
},
|
||||
".q": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("q"),
|
||||
|
@ -1253,6 +1257,16 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
regexp.MustCompile(`(?m)(?i:SELECT\s+[\w*,]+\s+FROM|(CREATE|ALTER|DROP)\s(DATABASE|SCHEMA|TABLE))`),
|
||||
),
|
||||
},
|
||||
".qs": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Q#"),
|
||||
regexp.MustCompile(`(?m)^((\/{2,3})?\s*(namespace|operation)\b)`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Qt Script"),
|
||||
regexp.MustCompile(`(?m)(\w+\.prototype\.\w+|===|\bvar\b)`),
|
||||
),
|
||||
},
|
||||
".r": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Rebol"),
|
||||
|
@ -1263,6 +1277,22 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
regexp.MustCompile(`(?m)<-|^\s*#`),
|
||||
),
|
||||
},
|
||||
".re": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Reason"),
|
||||
regexp.MustCompile(`(?m)^\s*module\s+type\s|^\s*(?:include|open)\s+\w+\s*;\s*$|^\s*let\s+(?:module\s\w+\s*=\s*{|\w+:\s+.*=.*;\s*$)`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("C++"),
|
||||
regexp.MustCompile(`(?m)^\s*#(?:(?:if|ifdef|define|pragma)\s+\w|\s*include\s+<[^>]+>)|^\s*template\s*<`),
|
||||
),
|
||||
},
|
||||
".res": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("ReScript"),
|
||||
regexp.MustCompile(`(?m)^\s*(let|module|type)\s+\w*\s+=\s+|^\s*(?:include|open)\s+\w+\s*$`),
|
||||
),
|
||||
},
|
||||
".rno": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Roff"),
|
||||
|
@ -1304,33 +1334,31 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
regexp.MustCompile(`(?m)(^\s*import (scala|java)\.|^\s*class\b)`),
|
||||
),
|
||||
},
|
||||
".sol": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Gerber Image"),
|
||||
regexp.MustCompile(`(?m)^G75\*`),
|
||||
),
|
||||
},
|
||||
".sql": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("PLpgSQL"),
|
||||
regexp.MustCompile(`(?m)(?i:^\\i\b|AS \$\$|LANGUAGE '?plpgsql'?|SECURITY (DEFINER|INVOKER)|BEGIN( WORK )?;)`),
|
||||
regexp.MustCompile(`(?m)(?i:^\\i\b|AS\s+\$\$|LANGUAGE\s+'?plpgsql'?|BEGIN(\s+WORK)?\s*;)`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("SQLPL"),
|
||||
regexp.MustCompile(`(?m)(?i:(alter module)|(language sql)|(begin( NOT)+ atomic)|signal SQLSTATE '[0-9]+')`),
|
||||
regexp.MustCompile(`(?m)(?i:ALTER\s+MODULE|MODE\s+DB2SQL|\bSYS(CAT|PROC)\.|ASSOCIATE\s+RESULT\s+SET|\bEND!\s*$)`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("PLSQL"),
|
||||
regexp.MustCompile(`(?m)(?i:\$\$PLSQL_|XMLTYPE|sysdate|systimestamp|\.nextval|connect by|AUTHID (DEFINER|CURRENT_USER)|constructor\W+function)`),
|
||||
),
|
||||
rule.And(
|
||||
rule.MatchingLanguages("TSQL"),
|
||||
rule.Not(
|
||||
rule.MatchingLanguages(""),
|
||||
regexp.MustCompile(`(?m)(?i:IDENTIFIED|NUMBER|VARCHAR2|REPEAT|UNTIL|IMMEDIATE)`),
|
||||
regexp.MustCompile(`(?m)(?i:\$\$PLSQL_|XMLTYPE|systimestamp|\.nextval|CONNECT\s+BY|AUTHID\s+(DEFINER|CURRENT_USER)|constructor\W+function)`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages(""),
|
||||
regexp.MustCompile(`(?m)(?i:(GO)|(@@)|(CREATE PROCEDURE)|BEGIN( TRY| CATCH)|OUTPUT( INSERTED)|IF|ELSE|IIF|CHOOSE|CURSOR|FETCH|DEALLOCATE|DECLARE)`),
|
||||
rule.MatchingLanguages("TSQL"),
|
||||
regexp.MustCompile(`(?m)(?i:^\s*GO\b|BEGIN(\s+TRY|\s+CATCH)|OUTPUT\s+INSERTED|DECLARE\s+@|\[dbo\])`),
|
||||
),
|
||||
),
|
||||
rule.Not(
|
||||
rule.Always(
|
||||
rule.MatchingLanguages("SQL"),
|
||||
regexp.MustCompile(`(?m)(?i:begin|boolean|package|exception)`),
|
||||
),
|
||||
},
|
||||
".srt": &Heuristics{
|
||||
|
@ -1346,7 +1374,7 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Raku"),
|
||||
regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\b(?:my\s+)?class\b)`),
|
||||
regexp.MustCompile(`(?m)^\s*(?:use\s+v6\b|\bmodule\b|\bmy\s+class\b)`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Turing"),
|
||||
|
@ -1391,14 +1419,19 @@ var ContentHeuristics = map[string]*Heuristics{
|
|||
regexp.MustCompile(`(?m)(?i:^\s*<\?xml\s+version)`),
|
||||
),
|
||||
},
|
||||
".txt": &Heuristics{
|
||||
rule.Always(
|
||||
rule.MatchingLanguages("Text"),
|
||||
),
|
||||
},
|
||||
".v": &Heuristics{
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Coq"),
|
||||
regexp.MustCompile(`(?m)\(\*.*?\*\)|(?:^|\s)(?:Proof|Qed)\.(?:$|\s)|(?:^|\s)Require[ \t]+Import\s`),
|
||||
regexp.MustCompile(`(?m)(?:^|\s)(?:Proof|Qed)\.(?:$|\s)|(?:^|\s)Require[ \t]+(Import|Export)\s`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("Verilog"),
|
||||
regexp.MustCompile(`(?m)^[ \t]*module\s+[^\s()]+\s+\#?\(|^[ \t]*`+"`"+`(?:ifdef|timescale)\s|^[ \t]*always[ \t]+@`),
|
||||
regexp.MustCompile(`(?m)^[ \t]*module\s+[^\s()]+\s+\#?\(|^[ \t]*`+"`"+`(?:define|ifdef|ifndef|include|timescale)|^[ \t]*always[ \t]+@|^[ \t]*initial[ \t]+(begin|@)`),
|
||||
),
|
||||
rule.Or(
|
||||
rule.MatchingLanguages("V"),
|
||||
|
|
2
vendor/github.com/go-enry/go-enry/v2/data/documentation.go
generated
vendored
2
vendor/github.com/go-enry/go-enry/v2/data/documentation.go
generated
vendored
|
@ -1,5 +1,5 @@
|
|||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
||||
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||
|
||||
package data
|
||||
|
||||
|
|
116
vendor/github.com/go-enry/go-enry/v2/data/extension.go
generated
vendored
116
vendor/github.com/go-enry/go-enry/v2/data/extension.go
generated
vendored
|
@ -1,5 +1,5 @@
|
|||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
||||
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||
|
||||
package data
|
||||
|
||||
|
@ -50,7 +50,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".ahk": {"AutoHotkey"},
|
||||
".ahkl": {"AutoHotkey"},
|
||||
".aj": {"AspectJ"},
|
||||
".al": {"Perl"},
|
||||
".al": {"AL", "Perl"},
|
||||
".als": {"Alloy"},
|
||||
".ampl": {"AMPL"},
|
||||
".angelscript": {"AngelScript"},
|
||||
|
@ -64,29 +64,31 @@ var LanguagesByExtension = map[string][]string{
|
|||
".arc": {"Arc"},
|
||||
".arpa": {"DNS Zone"},
|
||||
".as": {"ActionScript", "AngelScript"},
|
||||
".asax": {"ASP"},
|
||||
".asax": {"ASP.NET"},
|
||||
".asc": {"AGS Script", "AsciiDoc", "Public Key"},
|
||||
".asciidoc": {"AsciiDoc"},
|
||||
".ascx": {"ASP"},
|
||||
".ascx": {"ASP.NET"},
|
||||
".asd": {"Common Lisp"},
|
||||
".ash": {"AGS Script"},
|
||||
".ashx": {"ASP"},
|
||||
".ashx": {"ASP.NET"},
|
||||
".asl": {"ASL"},
|
||||
".asm": {"Assembly", "Motorola 68K Assembly"},
|
||||
".asmx": {"ASP"},
|
||||
".asmx": {"ASP.NET"},
|
||||
".asn": {"ASN.1"},
|
||||
".asn1": {"ASN.1"},
|
||||
".asp": {"ASP"},
|
||||
".aspx": {"ASP"},
|
||||
".asp": {"Classic ASP"},
|
||||
".aspx": {"ASP.NET"},
|
||||
".asset": {"Unity3D Asset"},
|
||||
".asy": {"Asymptote", "LTspice Symbol"},
|
||||
".au3": {"AutoIt"},
|
||||
".aug": {"Augeas"},
|
||||
".auk": {"Awk"},
|
||||
".aux": {"TeX"},
|
||||
".avdl": {"Avro IDL"},
|
||||
".avsc": {"JSON"},
|
||||
".aw": {"PHP"},
|
||||
".awk": {"Awk"},
|
||||
".axd": {"ASP"},
|
||||
".axd": {"ASP.NET"},
|
||||
".axi": {"NetLinx"},
|
||||
".axi.erb": {"NetLinx+ERB"},
|
||||
".axml": {"XML"},
|
||||
|
@ -173,6 +175,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".cobol": {"COBOL"},
|
||||
".cocci": {"SmPL"},
|
||||
".coffee": {"CoffeeScript"},
|
||||
".coffee.md": {"Literate CoffeeScript"},
|
||||
".com": {"DIGITAL Command Language"},
|
||||
".command": {"Shell"},
|
||||
".conll": {"CoNLL-U"},
|
||||
|
@ -223,6 +226,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".desktop": {"desktop"},
|
||||
".desktop.in": {"desktop"},
|
||||
".dfm": {"Pascal"},
|
||||
".dfy": {"Dafny"},
|
||||
".dhall": {"Dhall"},
|
||||
".di": {"D"},
|
||||
".diff": {"Diff"},
|
||||
|
@ -243,6 +247,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".dpatch": {"Darcs Patch"},
|
||||
".dpr": {"Pascal"},
|
||||
".druby": {"Mirah"},
|
||||
".dsl": {"ASL"},
|
||||
".dsp": {"Faust", "Microsoft Developer Studio Project"},
|
||||
".dtx": {"TeX"},
|
||||
".duby": {"Mirah"},
|
||||
|
@ -260,6 +265,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".eclass": {"Gentoo Eclass"},
|
||||
".eclxml": {"ECL"},
|
||||
".ecr": {"HTML+ECR"},
|
||||
".ect": {"EJS"},
|
||||
".edc": {"Edje Data Collection"},
|
||||
".edn": {"edn"},
|
||||
".eex": {"HTML+EEX"},
|
||||
|
@ -274,6 +280,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".emacs.desktop": {"Emacs Lisp"},
|
||||
".emberscript": {"EmberScript"},
|
||||
".eml": {"EML"},
|
||||
".env": {"Shell"},
|
||||
".epj": {"Ecere Projects"},
|
||||
".eps": {"PostScript"},
|
||||
".epsi": {"PostScript"},
|
||||
|
@ -288,11 +295,11 @@ var LanguagesByExtension = map[string][]string{
|
|||
".exs": {"Elixir"},
|
||||
".eye": {"Ruby"},
|
||||
".f": {"Filebench WML", "Forth", "Fortran"},
|
||||
".f03": {"Fortran"},
|
||||
".f08": {"Fortran"},
|
||||
".f03": {"Fortran Free Form"},
|
||||
".f08": {"Fortran Free Form"},
|
||||
".f77": {"Fortran"},
|
||||
".f90": {"Fortran"},
|
||||
".f95": {"Fortran"},
|
||||
".f90": {"Fortran Free Form"},
|
||||
".f95": {"Fortran Free Form"},
|
||||
".factor": {"Factor"},
|
||||
".fan": {"Fantom"},
|
||||
".fancypack": {"Fancy"},
|
||||
|
@ -325,6 +332,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".fth": {"Forth"},
|
||||
".ftl": {"FreeMarker"},
|
||||
".fun": {"Standard ML"},
|
||||
".fut": {"Futhark"},
|
||||
".fx": {"FLUX", "HLSL"},
|
||||
".fxh": {"HLSL"},
|
||||
".fxml": {"XML"},
|
||||
|
@ -344,6 +352,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".gd": {"GAP", "GDScript"},
|
||||
".gdb": {"GDB"},
|
||||
".gdbinit": {"GDB"},
|
||||
".ged": {"GEDCOM"},
|
||||
".gemspec": {"Ruby"},
|
||||
".geo": {"GLSL"},
|
||||
".geojson": {"JSON"},
|
||||
|
@ -383,7 +392,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".gs": {"GLSL", "Genie", "Gosu", "JavaScript"},
|
||||
".gshader": {"GLSL"},
|
||||
".gsp": {"Groovy Server Pages"},
|
||||
".gst": {"Gosu"},
|
||||
".gst": {"Gosu", "XML"},
|
||||
".gsx": {"Gosu"},
|
||||
".gtl": {"Gerber Image"},
|
||||
".gto": {"Gerber Image"},
|
||||
|
@ -422,6 +431,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".htm": {"HTML"},
|
||||
".html": {"HTML"},
|
||||
".html.hl": {"HTML"},
|
||||
".html.leex": {"HTML+EEX"},
|
||||
".http": {"HTTP"},
|
||||
".hx": {"Haxe"},
|
||||
".hxml": {"HXML"},
|
||||
|
@ -454,10 +464,12 @@ var LanguagesByExtension = map[string][]string{
|
|||
".ipp": {"C++"},
|
||||
".ipynb": {"Jupyter Notebook"},
|
||||
".irclog": {"IRC log"},
|
||||
".isl": {"Inno Setup"},
|
||||
".iss": {"Inno Setup"},
|
||||
".iuml": {"PlantUML"},
|
||||
".ivy": {"XML"},
|
||||
".j": {"Jasmin", "Objective-J"},
|
||||
".j2": {"HTML+Django"},
|
||||
".jade": {"Pug"},
|
||||
".jake": {"JavaScript"},
|
||||
".java": {"Java"},
|
||||
|
@ -486,6 +498,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".jsp": {"Java Server Pages"},
|
||||
".jsproj": {"XML"},
|
||||
".jss": {"JavaScript"},
|
||||
".jst": {"EJS"},
|
||||
".jsx": {"JSX"},
|
||||
".kicad_mod": {"KiCad Layout"},
|
||||
".kicad_pcb": {"KiCad Layout"},
|
||||
|
@ -496,11 +509,13 @@ var LanguagesByExtension = map[string][]string{
|
|||
".kojo": {"Scala"},
|
||||
".krl": {"KRL"},
|
||||
".ksh": {"Shell"},
|
||||
".ksy": {"Kaitai Struct"},
|
||||
".kt": {"Kotlin"},
|
||||
".ktm": {"Kotlin"},
|
||||
".kts": {"Kotlin"},
|
||||
".l": {"Common Lisp", "Lex", "PicoLisp", "Roff"},
|
||||
".lagda": {"Literate Agda"},
|
||||
".lark": {"Lark"},
|
||||
".las": {"Lasso"},
|
||||
".lasso": {"Lasso"},
|
||||
".lasso8": {"Lasso"},
|
||||
|
@ -520,6 +535,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".libsonnet": {"Jsonnet"},
|
||||
".lid": {"Dylan"},
|
||||
".lidr": {"Idris"},
|
||||
".linq": {"C#"},
|
||||
".liquid": {"Liquid"},
|
||||
".lisp": {"Common Lisp", "NewLisp"},
|
||||
".litcoffee": {"Literate CoffeeScript"},
|
||||
|
@ -535,9 +551,11 @@ var LanguagesByExtension = map[string][]string{
|
|||
".lsp": {"Common Lisp", "NewLisp"},
|
||||
".ltx": {"TeX"},
|
||||
".lua": {"Lua"},
|
||||
".lvlib": {"LabVIEW"},
|
||||
".lvproj": {"LabVIEW"},
|
||||
".ly": {"LilyPond"},
|
||||
".m": {"Limbo", "M", "MATLAB", "MUF", "Mathematica", "Mercury", "Objective-C"},
|
||||
".m2": {"Macaulay2"},
|
||||
".m3": {"Modula-3"},
|
||||
".m4": {"M4", "M4Sugar"},
|
||||
".ma": {"Mathematica"},
|
||||
|
@ -617,7 +635,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".muf": {"MUF"},
|
||||
".mumps": {"M"},
|
||||
".muse": {"Muse"},
|
||||
".mustache": {"HTML+Django"},
|
||||
".mustache": {"Mustache"},
|
||||
".mxml": {"XML"},
|
||||
".mxt": {"Max"},
|
||||
".mysql": {"SQL"},
|
||||
|
@ -635,7 +653,9 @@ var LanguagesByExtension = map[string][]string{
|
|||
".ndproj": {"XML"},
|
||||
".ne": {"Nearley"},
|
||||
".nearley": {"Nearley"},
|
||||
".neon": {"NEON"},
|
||||
".nf": {"Nextflow"},
|
||||
".nginx": {"Nginx"},
|
||||
".nginxconf": {"Nginx"},
|
||||
".ni": {"Inform 7"},
|
||||
".nim": {"Nim"},
|
||||
|
@ -651,12 +671,14 @@ var LanguagesByExtension = map[string][]string{
|
|||
".nl": {"NL", "NewLisp"},
|
||||
".nlogo": {"NetLogo"},
|
||||
".no": {"Text"},
|
||||
".nomad": {"HCL"},
|
||||
".nproj": {"XML"},
|
||||
".nqp": {"Raku"},
|
||||
".nr": {"Roff"},
|
||||
".nse": {"Lua"},
|
||||
".nsh": {"NSIS"},
|
||||
".nsi": {"NSIS"},
|
||||
".nss": {"NWScript"},
|
||||
".nu": {"Nu"},
|
||||
".numpy": {"NumPy"},
|
||||
".numpyw": {"NumPy"},
|
||||
|
@ -799,6 +821,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".ql": {"CodeQL"},
|
||||
".qll": {"CodeQL"},
|
||||
".qml": {"QML"},
|
||||
".qs": {"Q#", "Qt Script"},
|
||||
".r": {"R", "Rebol"},
|
||||
".r2": {"Rebol"},
|
||||
".r3": {"Rebol"},
|
||||
|
@ -833,13 +856,14 @@ var LanguagesByExtension = map[string][]string{
|
|||
".regexp": {"Regular Expression"},
|
||||
".rego": {"Open Policy Agent"},
|
||||
".rei": {"Reason"},
|
||||
".res": {"ReScript", "XML"},
|
||||
".rest": {"reStructuredText"},
|
||||
".rest.txt": {"reStructuredText"},
|
||||
".resx": {"XML"},
|
||||
".rex": {"REXX"},
|
||||
".rexx": {"REXX"},
|
||||
".rg": {"Rouge"},
|
||||
".rhtml": {"RHTML"},
|
||||
".rhtml": {"HTML+ERB"},
|
||||
".ring": {"Ring"},
|
||||
".riot": {"Riot"},
|
||||
".rkt": {"Racket"},
|
||||
|
@ -900,6 +924,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".shader": {"GLSL", "ShaderLab"},
|
||||
".shen": {"Shen"},
|
||||
".shproj": {"XML"},
|
||||
".sieve": {"Sieve"},
|
||||
".sig": {"Standard ML"},
|
||||
".sj": {"Objective-J"},
|
||||
".sjs": {"JavaScript"},
|
||||
|
@ -916,6 +941,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".snip": {"Vim Snippet"},
|
||||
".snippet": {"Vim Snippet"},
|
||||
".snippets": {"Vim Snippet"},
|
||||
".sol": {"Gerber Image", "Solidity"},
|
||||
".soy": {"Closure Templates"},
|
||||
".sp": {"SourcePawn"},
|
||||
".sparql": {"SPARQL"},
|
||||
|
@ -937,6 +963,7 @@ var LanguagesByExtension = map[string][]string{
|
|||
".stan": {"Stan"},
|
||||
".sthlp": {"Stata"},
|
||||
".ston": {"STON"},
|
||||
".story": {"Gherkin"},
|
||||
".storyboard": {"XML"},
|
||||
".sttheme": {"XML Property List"},
|
||||
".sty": {"TeX"},
|
||||
|
@ -1005,13 +1032,14 @@ var LanguagesByExtension = map[string][]string{
|
|||
".trg": {"PLSQL"},
|
||||
".ts": {"TypeScript", "XML"},
|
||||
".tst": {"GAP", "Scilab"},
|
||||
".tsv": {"TSV"},
|
||||
".tsx": {"TSX", "XML"},
|
||||
".ttl": {"Turtle"},
|
||||
".tu": {"Turing"},
|
||||
".twig": {"Twig"},
|
||||
".txi": {"Texinfo"},
|
||||
".txl": {"TXL"},
|
||||
".txt": {"Text"},
|
||||
".txt": {"Text", "Vim Help File"},
|
||||
".uc": {"UnrealScript"},
|
||||
".udf": {"SQL"},
|
||||
".udo": {"Csound"},
|
||||
|
@ -1167,12 +1195,14 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"ABAP": {".abap"},
|
||||
"ABNF": {".abnf"},
|
||||
"AGS Script": {".asc", ".ash"},
|
||||
"AL": {".al"},
|
||||
"AMPL": {".ampl", ".mod"},
|
||||
"ANTLR": {".g4"},
|
||||
"API Blueprint": {".apib"},
|
||||
"APL": {".apl", ".dyalog"},
|
||||
"ASL": {".asl", ".dsl"},
|
||||
"ASN.1": {".asn", ".asn1"},
|
||||
"ASP": {".asp", ".asax", ".ascx", ".ashx", ".asmx", ".aspx", ".axd"},
|
||||
"ASP.NET": {".asax", ".ascx", ".ashx", ".asmx", ".aspx", ".axd"},
|
||||
"ATS": {".dats", ".hats", ".sats"},
|
||||
"ActionScript": {".as"},
|
||||
"Ada": {".adb", ".ada", ".ads"},
|
||||
|
@ -1193,6 +1223,7 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"Augeas": {".aug"},
|
||||
"AutoHotkey": {".ahk", ".ahkl"},
|
||||
"AutoIt": {".au3"},
|
||||
"Avro IDL": {".avdl"},
|
||||
"Awk": {".awk", ".auk", ".gawk", ".mawk", ".nawk"},
|
||||
"Ballerina": {".bal"},
|
||||
"Batchfile": {".bat", ".cmd"},
|
||||
|
@ -1208,7 +1239,7 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"Brainfuck": {".b", ".bf"},
|
||||
"Brightscript": {".brs"},
|
||||
"C": {".c", ".cats", ".h", ".idc"},
|
||||
"C#": {".cs", ".cake", ".csx"},
|
||||
"C#": {".cs", ".cake", ".csx", ".linq"},
|
||||
"C++": {".cpp", ".c++", ".cc", ".cp", ".cxx", ".h", ".h++", ".hh", ".hpp", ".hxx", ".inc", ".inl", ".ino", ".ipp", ".re", ".tcc", ".tpp"},
|
||||
"C-ObjDump": {".c-objdump"},
|
||||
"C2hs Haskell": {".chs"},
|
||||
|
@ -1229,6 +1260,7 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"ChucK": {".ck"},
|
||||
"Cirru": {".cirru"},
|
||||
"Clarion": {".clw"},
|
||||
"Classic ASP": {".asp"},
|
||||
"Clean": {".icl", ".dcl"},
|
||||
"Click": {".click"},
|
||||
"Clojure": {".clj", ".boot", ".cl2", ".cljc", ".cljs", ".cljs.hl", ".cljscm", ".cljx", ".hic"},
|
||||
|
@ -1258,6 +1290,7 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"DM": {".dm"},
|
||||
"DNS Zone": {".zone", ".arpa"},
|
||||
"DTrace": {".d"},
|
||||
"Dafny": {".dfy"},
|
||||
"Darcs Patch": {".darcspatch", ".dpatch"},
|
||||
"Dart": {".dart"},
|
||||
"DataWeave": {".dwl"},
|
||||
|
@ -1271,7 +1304,7 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"EBNF": {".ebnf"},
|
||||
"ECL": {".ecl", ".eclxml"},
|
||||
"ECLiPSe": {".ecl"},
|
||||
"EJS": {".ejs"},
|
||||
"EJS": {".ejs", ".ect", ".jst"},
|
||||
"EML": {".eml", ".mbox"},
|
||||
"EQ": {".eq"},
|
||||
"Eagle": {".sch", ".brd"},
|
||||
|
@ -1296,9 +1329,11 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"Filterscript": {".fs"},
|
||||
"Formatted": {".for", ".eam.fs"},
|
||||
"Forth": {".fth", ".4th", ".f", ".for", ".forth", ".fr", ".frt", ".fs"},
|
||||
"Fortran": {".f90", ".f", ".f03", ".f08", ".f77", ".f95", ".for", ".fpp"},
|
||||
"Fortran": {".f", ".f77", ".for", ".fpp"},
|
||||
"Fortran Free Form": {".f90", ".f03", ".f08", ".f95"},
|
||||
"FreeMarker": {".ftl"},
|
||||
"Frege": {".fr"},
|
||||
"Futhark": {".fut"},
|
||||
"G-code": {".g", ".cnc", ".gco", ".gcode"},
|
||||
"GAML": {".gaml"},
|
||||
"GAMS": {".gms"},
|
||||
|
@ -1306,6 +1341,7 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"GCC Machine Description": {".md"},
|
||||
"GDB": {".gdb", ".gdbinit"},
|
||||
"GDScript": {".gd"},
|
||||
"GEDCOM": {".ged"},
|
||||
"GLSL": {".glsl", ".fp", ".frag", ".frg", ".fs", ".fsh", ".fshader", ".geo", ".geom", ".glslf", ".glslv", ".gs", ".gshader", ".shader", ".tesc", ".tese", ".vert", ".vrx", ".vsh", ".vshader"},
|
||||
"GN": {".gn", ".gni"},
|
||||
"Game Maker Language": {".gml"},
|
||||
|
@ -1313,9 +1349,9 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"Genshi": {".kid"},
|
||||
"Gentoo Ebuild": {".ebuild"},
|
||||
"Gentoo Eclass": {".eclass"},
|
||||
"Gerber Image": {".gbr", ".gbl", ".gbo", ".gbp", ".gbs", ".gko", ".gml", ".gpb", ".gpt", ".gtl", ".gto", ".gtp", ".gts"},
|
||||
"Gerber Image": {".gbr", ".gbl", ".gbo", ".gbp", ".gbs", ".gko", ".gml", ".gpb", ".gpt", ".gtl", ".gto", ".gtp", ".gts", ".sol"},
|
||||
"Gettext Catalog": {".po", ".pot"},
|
||||
"Gherkin": {".feature"},
|
||||
"Gherkin": {".feature", ".story"},
|
||||
"Git Config": {".gitconfig"},
|
||||
"Glyph": {".glf"},
|
||||
"Glyph Bitmap Distribution Format": {".bdf"},
|
||||
|
@ -1332,13 +1368,13 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"Groovy": {".groovy", ".grt", ".gtpl", ".gvy"},
|
||||
"Groovy Server Pages": {".gsp"},
|
||||
"HAProxy": {".cfg"},
|
||||
"HCL": {".hcl", ".tf", ".tfvars", ".workflow"},
|
||||
"HCL": {".hcl", ".nomad", ".tf", ".tfvars", ".workflow"},
|
||||
"HLSL": {".hlsl", ".cginc", ".fx", ".fxh", ".hlsli"},
|
||||
"HTML": {".html", ".htm", ".html.hl", ".inc", ".st", ".xht", ".xhtml"},
|
||||
"HTML+Django": {".jinja", ".jinja2", ".mustache", ".njk"},
|
||||
"HTML+Django": {".jinja", ".j2", ".jinja2", ".njk"},
|
||||
"HTML+ECR": {".ecr"},
|
||||
"HTML+EEX": {".eex"},
|
||||
"HTML+ERB": {".erb", ".erb.deface"},
|
||||
"HTML+EEX": {".eex", ".html.leex"},
|
||||
"HTML+ERB": {".erb", ".erb.deface", ".rhtml"},
|
||||
"HTML+PHP": {".phtml"},
|
||||
"HTML+Razor": {".cshtml", ".razor"},
|
||||
"HTTP": {".http"},
|
||||
|
@ -1360,7 +1396,7 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"Idris": {".idr", ".lidr"},
|
||||
"Ignore List": {".gitignore"},
|
||||
"Inform 7": {".ni", ".i7x"},
|
||||
"Inno Setup": {".iss"},
|
||||
"Inno Setup": {".iss", ".isl"},
|
||||
"Io": {".io"},
|
||||
"Ioke": {".ik"},
|
||||
"Isabelle": {".thy"},
|
||||
|
@ -1385,6 +1421,7 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"Julia": {".jl"},
|
||||
"Jupyter Notebook": {".ipynb"},
|
||||
"KRL": {".krl"},
|
||||
"Kaitai Struct": {".ksy"},
|
||||
"KiCad Layout": {".kicad_pcb", ".kicad_mod", ".kicad_wks"},
|
||||
"KiCad Legacy Layout": {".brd"},
|
||||
"KiCad Schematic": {".sch"},
|
||||
|
@ -1395,7 +1432,8 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"LOLCODE": {".lol"},
|
||||
"LSL": {".lsl", ".lslp"},
|
||||
"LTspice Symbol": {".asy"},
|
||||
"LabVIEW": {".lvproj"},
|
||||
"LabVIEW": {".lvproj", ".lvlib"},
|
||||
"Lark": {".lark"},
|
||||
"Lasso": {".lasso", ".las", ".lasso8", ".lasso9"},
|
||||
"Latte": {".latte"},
|
||||
"Lean": {".lean", ".hlean"},
|
||||
|
@ -1407,7 +1445,7 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"Linux Kernel Module": {".mod"},
|
||||
"Liquid": {".liquid"},
|
||||
"Literate Agda": {".lagda"},
|
||||
"Literate CoffeeScript": {".litcoffee"},
|
||||
"Literate CoffeeScript": {".litcoffee", ".coffee.md"},
|
||||
"Literate Haskell": {".lhs"},
|
||||
"LiveScript": {".ls", "._ls"},
|
||||
"Logos": {".xm", ".x", ".xi"},
|
||||
|
@ -1425,6 +1463,7 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"MQL5": {".mq5", ".mqh"},
|
||||
"MTML": {".mtml"},
|
||||
"MUF": {".muf", ".m"},
|
||||
"Macaulay2": {".m2"},
|
||||
"Makefile": {".mak", ".d", ".make", ".mk", ".mkfile"},
|
||||
"Mako": {".mako", ".mao"},
|
||||
"Markdown": {".md", ".markdown", ".mdown", ".mdwn", ".mdx", ".mkd", ".mkdn", ".mkdown", ".ronn", ".workbook"},
|
||||
|
@ -1447,11 +1486,14 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"MoonScript": {".moon"},
|
||||
"Motorola 68K Assembly": {".asm", ".i", ".inc", ".s", ".x68"},
|
||||
"Muse": {".muse"},
|
||||
"Mustache": {".mustache"},
|
||||
"Myghty": {".myt"},
|
||||
"NASL": {".nasl", ".inc"},
|
||||
"NCL": {".ncl"},
|
||||
"NEON": {".neon"},
|
||||
"NL": {".nl"},
|
||||
"NSIS": {".nsi", ".nsh"},
|
||||
"NWScript": {".nss"},
|
||||
"Nearley": {".ne", ".nearley"},
|
||||
"Nemerle": {".n"},
|
||||
"NetLinx": {".axs", ".axi"},
|
||||
|
@ -1459,7 +1501,7 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"NetLogo": {".nlogo"},
|
||||
"NewLisp": {".nl", ".lisp", ".lsp"},
|
||||
"Nextflow": {".nf"},
|
||||
"Nginx": {".nginxconf", ".vhost"},
|
||||
"Nginx": {".nginx", ".nginxconf", ".vhost"},
|
||||
"Nim": {".nim", ".nim.cfg", ".nimble", ".nimrod", ".nims"},
|
||||
"Ninja": {".ninja"},
|
||||
"Nit": {".nit"},
|
||||
|
@ -1530,14 +1572,15 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"PureScript": {".purs"},
|
||||
"Python": {".py", ".cgi", ".fcgi", ".gyp", ".gypi", ".lmi", ".py3", ".pyde", ".pyi", ".pyp", ".pyt", ".pyw", ".rpy", ".smk", ".spec", ".tac", ".wsgi", ".xpy"},
|
||||
"Python traceback": {".pytb"},
|
||||
"Q#": {".qs"},
|
||||
"QML": {".qml", ".qbs"},
|
||||
"QMake": {".pro", ".pri"},
|
||||
"Qt Script": {".qs"},
|
||||
"R": {".r", ".rd", ".rsx"},
|
||||
"RAML": {".raml"},
|
||||
"RDoc": {".rdoc"},
|
||||
"REALbasic": {".rbbas", ".rbfrm", ".rbmnu", ".rbres", ".rbtbar", ".rbuistate"},
|
||||
"REXX": {".rexx", ".pprx", ".rex"},
|
||||
"RHTML": {".rhtml"},
|
||||
"RMarkdown": {".rmd"},
|
||||
"RPC": {".x"},
|
||||
"RPM Spec": {".spec"},
|
||||
|
@ -1547,6 +1590,7 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"Raku": {".6pl", ".6pm", ".nqp", ".p6", ".p6l", ".p6m", ".pl", ".pl6", ".pm", ".pm6", ".t"},
|
||||
"Rascal": {".rsc"},
|
||||
"Raw token data": {".raw"},
|
||||
"ReScript": {".res"},
|
||||
"Reason": {".re", ".rei"},
|
||||
"Rebol": {".reb", ".r", ".r2", ".r3", ".rebol"},
|
||||
"Red": {".red", ".reds"},
|
||||
|
@ -1583,9 +1627,10 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"Scilab": {".sci", ".sce", ".tst"},
|
||||
"Self": {".self"},
|
||||
"ShaderLab": {".shader"},
|
||||
"Shell": {".sh", ".bash", ".bats", ".cgi", ".command", ".fcgi", ".ksh", ".sh.in", ".tmux", ".tool", ".zsh"},
|
||||
"Shell": {".sh", ".bash", ".bats", ".cgi", ".command", ".env", ".fcgi", ".ksh", ".sh.in", ".tmux", ".tool", ".zsh"},
|
||||
"ShellSession": {".sh-session"},
|
||||
"Shen": {".shen"},
|
||||
"Sieve": {".sieve"},
|
||||
"Slash": {".sl"},
|
||||
"Slice": {".ice"},
|
||||
"Slim": {".slim"},
|
||||
|
@ -1593,6 +1638,7 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"Smali": {".smali"},
|
||||
"Smalltalk": {".st", ".cs"},
|
||||
"Smarty": {".tpl"},
|
||||
"Solidity": {".sol"},
|
||||
"SourcePawn": {".sp", ".inc"},
|
||||
"Spline Font Database": {".sfd"},
|
||||
"Squirrel": {".nut"},
|
||||
|
@ -1611,6 +1657,7 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"TLA": {".tla"},
|
||||
"TOML": {".toml"},
|
||||
"TSQL": {".sql"},
|
||||
"TSV": {".tsv"},
|
||||
"TSX": {".tsx"},
|
||||
"TXL": {".txl"},
|
||||
"Tcl": {".tcl", ".adp", ".tm"},
|
||||
|
@ -1640,6 +1687,7 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"VHDL": {".vhdl", ".vhd", ".vhf", ".vhi", ".vho", ".vhs", ".vht", ".vhw"},
|
||||
"Vala": {".vala", ".vapi"},
|
||||
"Verilog": {".v", ".veo"},
|
||||
"Vim Help File": {".txt"},
|
||||
"Vim Snippet": {".snip", ".snippet", ".snippets"},
|
||||
"Vim script": {".vim", ".vba", ".vmb"},
|
||||
"Visual Basic .NET": {".vb", ".vbhtml"},
|
||||
|
@ -1658,7 +1706,7 @@ var ExtensionsByLanguage = map[string][]string{
|
|||
"X PixMap": {".xpm", ".pm"},
|
||||
"X10": {".x10"},
|
||||
"XC": {".xc"},
|
||||
"XML": {".xml", ".adml", ".admx", ".ant", ".axml", ".builds", ".ccproj", ".ccxml", ".clixml", ".cproject", ".cscfg", ".csdef", ".csl", ".csproj", ".ct", ".depproj", ".dita", ".ditamap", ".ditaval", ".dll.config", ".dotsettings", ".filters", ".fsproj", ".fxml", ".glade", ".gml", ".gmx", ".grxml", ".iml", ".ivy", ".jelly", ".jsproj", ".kml", ".launch", ".mdpolicy", ".mjml", ".mm", ".mod", ".mxml", ".natvis", ".ncl", ".ndproj", ".nproj", ".nuspec", ".odd", ".osm", ".pkgproj", ".pluginspec", ".proj", ".props", ".ps1xml", ".psc1", ".pt", ".rdf", ".resx", ".rss", ".sch", ".scxml", ".sfproj", ".shproj", ".srdf", ".storyboard", ".sublime-snippet", ".targets", ".tml", ".ts", ".tsx", ".ui", ".urdf", ".ux", ".vbproj", ".vcxproj", ".vsixmanifest", ".vssettings", ".vstemplate", ".vxml", ".wixproj", ".workflow", ".wsdl", ".wsf", ".wxi", ".wxl", ".wxs", ".x3d", ".xacro", ".xaml", ".xib", ".xlf", ".xliff", ".xmi", ".xml.dist", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"},
|
||||
"XML": {".xml", ".adml", ".admx", ".ant", ".axml", ".builds", ".ccproj", ".ccxml", ".clixml", ".cproject", ".cscfg", ".csdef", ".csl", ".csproj", ".ct", ".depproj", ".dita", ".ditamap", ".ditaval", ".dll.config", ".dotsettings", ".filters", ".fsproj", ".fxml", ".glade", ".gml", ".gmx", ".grxml", ".gst", ".iml", ".ivy", ".jelly", ".jsproj", ".kml", ".launch", ".mdpolicy", ".mjml", ".mm", ".mod", ".mxml", ".natvis", ".ncl", ".ndproj", ".nproj", ".nuspec", ".odd", ".osm", ".pkgproj", ".pluginspec", ".proj", ".props", ".ps1xml", ".psc1", ".pt", ".rdf", ".res", ".resx", ".rss", ".sch", ".scxml", ".sfproj", ".shproj", ".srdf", ".storyboard", ".sublime-snippet", ".targets", ".tml", ".ts", ".tsx", ".ui", ".urdf", ".ux", ".vbproj", ".vcxproj", ".vsixmanifest", ".vssettings", ".vstemplate", ".vxml", ".wixproj", ".workflow", ".wsdl", ".wsf", ".wxi", ".wxl", ".wxs", ".x3d", ".xacro", ".xaml", ".xib", ".xlf", ".xliff", ".xmi", ".xml.dist", ".xproj", ".xsd", ".xspec", ".xul", ".zcml"},
|
||||
"XML Property List": {".plist", ".sttheme", ".tmcommand", ".tmlanguage", ".tmpreferences", ".tmsnippet", ".tmtheme"},
|
||||
"XPages": {".xsp-config", ".xsp.metadata"},
|
||||
"XProc": {".xpl", ".xproc"},
|
||||
|
|
16
vendor/github.com/go-enry/go-enry/v2/data/filename.go
generated
vendored
16
vendor/github.com/go-enry/go-enry/v2/data/filename.go
generated
vendored
|
@ -1,5 +1,5 @@
|
|||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
||||
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||
|
||||
package data
|
||||
|
||||
|
@ -31,10 +31,14 @@ var LanguagesByFilename = map[string][]string{
|
|||
".editorconfig": {"EditorConfig"},
|
||||
".emacs": {"Emacs Lisp"},
|
||||
".emacs.desktop": {"Emacs Lisp"},
|
||||
".env": {"Shell"},
|
||||
".env.example": {"Shell"},
|
||||
".eslintignore": {"Ignore List"},
|
||||
".eslintrc.json": {"JSON with Comments"},
|
||||
".exrc": {"Vim script"},
|
||||
".factor-boot-rc": {"Factor"},
|
||||
".factor-rc": {"Factor"},
|
||||
".flaskenv": {"Shell"},
|
||||
".gclient": {"Python"},
|
||||
".gemrc": {"YAML"},
|
||||
".gitattributes": {"Git Attributes"},
|
||||
|
@ -65,6 +69,7 @@ var LanguagesByFilename = map[string][]string{
|
|||
".profile": {"Shell"},
|
||||
".project": {"XML"},
|
||||
".pryrc": {"Ruby"},
|
||||
".simplecov": {"Ruby"},
|
||||
".spacemacs": {"Emacs Lisp"},
|
||||
".stylelintignore": {"Ignore List"},
|
||||
".tern-config": {"JSON"},
|
||||
|
@ -120,6 +125,7 @@ var LanguagesByFilename = map[string][]string{
|
|||
"Kbuild": {"Makefile"},
|
||||
"LICENSE": {"Text"},
|
||||
"LICENSE.mysql": {"Text"},
|
||||
"Lexer.x": {"Lex"},
|
||||
"Makefile": {"Makefile"},
|
||||
"Makefile.PL": {"Perl"},
|
||||
"Makefile.am": {"Makefile"},
|
||||
|
@ -142,6 +148,7 @@ var LanguagesByFilename = map[string][]string{
|
|||
"README.1ST": {"Text"},
|
||||
"README.me": {"Text"},
|
||||
"README.mysql": {"Text"},
|
||||
"README.nss": {"Text"},
|
||||
"ROOT": {"Isabelle ROOT"},
|
||||
"Rakefile": {"Ruby"},
|
||||
"Rexfile": {"Perl"},
|
||||
|
@ -152,6 +159,7 @@ var LanguagesByFilename = map[string][]string{
|
|||
"Snakefile": {"Python"},
|
||||
"Snapfile": {"Ruby"},
|
||||
"Thorfile": {"Ruby"},
|
||||
"Tiltfile": {"Starlark"},
|
||||
"Vagrantfile": {"Ruby"},
|
||||
"WORKSPACE": {"Starlark"},
|
||||
"Web.Debug.config": {"XML"},
|
||||
|
@ -185,6 +193,7 @@ var LanguagesByFilename = map[string][]string{
|
|||
"delete.me": {"Text"},
|
||||
"descrip.mmk": {"Module Management System"},
|
||||
"descrip.mms": {"Module Management System"},
|
||||
"devcontainer.json": {"JSON with Comments"},
|
||||
"dir_colors": {"dircolors"},
|
||||
"encodings.dir": {"X Font Directory Index"},
|
||||
"eqnrc": {"Roff"},
|
||||
|
@ -204,10 +213,12 @@ var LanguagesByFilename = map[string][]string{
|
|||
"haproxy.cfg": {"HAProxy"},
|
||||
"httpd.conf": {"ApacheConf"},
|
||||
"inputrc": {"Readline Config"},
|
||||
"installscript.qs": {"Qt Script"},
|
||||
"jsconfig.json": {"JSON with Comments"},
|
||||
"keep.me": {"Text"},
|
||||
"language-configuration.json": {"JSON with Comments"},
|
||||
"ld.script": {"Linker Script"},
|
||||
"lexer.x": {"Lex"},
|
||||
"login": {"Shell"},
|
||||
"m3makefile": {"Quake"},
|
||||
"m3overrides": {"Quake"},
|
||||
|
@ -231,6 +242,7 @@ var LanguagesByFilename = map[string][]string{
|
|||
"package.use.mask": {"Text"},
|
||||
"package.use.stable.mask": {"Text"},
|
||||
"packages.config": {"XML"},
|
||||
"poetry.lock": {"TOML"},
|
||||
"pom.xml": {"Maven POM"},
|
||||
"profile": {"Shell"},
|
||||
"read.me": {"Text"},
|
||||
|
@ -247,9 +259,11 @@ var LanguagesByFilename = map[string][]string{
|
|||
"sshd_config": {"SSH Config"},
|
||||
"starfield": {"Tcl"},
|
||||
"test.me": {"Text"},
|
||||
"toolchain_installscript.qs": {"Qt Script"},
|
||||
"troffrc": {"Roff"},
|
||||
"troffrc-end": {"Roff"},
|
||||
"tsconfig.json": {"JSON with Comments"},
|
||||
"tslint.json": {"JSON with Comments"},
|
||||
"use.mask": {"Text"},
|
||||
"use.stable.mask": {"Text"},
|
||||
"vimrc": {"Vim script"},
|
||||
|
|
57681
vendor/github.com/go-enry/go-enry/v2/data/frequencies.go
generated
vendored
57681
vendor/github.com/go-enry/go-enry/v2/data/frequencies.go
generated
vendored
File diff suppressed because it is too large
Load diff
21
vendor/github.com/go-enry/go-enry/v2/data/groups.go
generated
vendored
21
vendor/github.com/go-enry/go-enry/v2/data/groups.go
generated
vendored
|
@ -1,5 +1,5 @@
|
|||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
||||
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||
|
||||
package data
|
||||
|
||||
|
@ -8,7 +8,6 @@ var LanguagesGroup = map[string]string{
|
|||
"Apollo Guidance Computer": "Assembly",
|
||||
"BibTeX": "TeX",
|
||||
"Bison": "Yacc",
|
||||
"Blade": "HTML",
|
||||
"C2hs Haskell": "Haskell",
|
||||
"Closure Templates": "HTML",
|
||||
"ColdFusion CFC": "ColdFusion",
|
||||
|
@ -19,6 +18,8 @@ var LanguagesGroup = map[string]string{
|
|||
"Ecere Projects": "JavaScript",
|
||||
"EditorConfig": "INI",
|
||||
"Filterscript": "RenderScript",
|
||||
"Fortran": "Fortran",
|
||||
"Fortran Free Form": "Fortran",
|
||||
"Gentoo Ebuild": "Shell",
|
||||
"Gentoo Eclass": "Shell",
|
||||
"Git Attributes": "INI",
|
||||
|
@ -30,8 +31,6 @@ var LanguagesGroup = map[string]string{
|
|||
"HTML+ERB": "HTML",
|
||||
"HTML+PHP": "HTML",
|
||||
"HTML+Razor": "HTML",
|
||||
"Haml": "HTML",
|
||||
"Handlebars": "HTML",
|
||||
"Ignore List": "INI",
|
||||
"Isabelle ROOT": "Isabelle",
|
||||
"JFlex": "Lex",
|
||||
|
@ -41,15 +40,14 @@ var LanguagesGroup = map[string]string{
|
|||
"JavaScript+ERB": "JavaScript",
|
||||
"Jison": "Yacc",
|
||||
"Jison Lex": "Lex",
|
||||
"Latte": "HTML",
|
||||
"Less": "CSS",
|
||||
"Lark": "EBNF",
|
||||
"Literate Agda": "Agda",
|
||||
"Literate CoffeeScript": "CoffeeScript",
|
||||
"Literate Haskell": "Haskell",
|
||||
"M4Sugar": "M4",
|
||||
"MUF": "Forth",
|
||||
"Marko": "HTML",
|
||||
"Motorola 68K Assembly": "Assembly",
|
||||
"Mustache": "HTML",
|
||||
"NPM Config": "INI",
|
||||
"NumPy": "Python",
|
||||
"OpenCL": "C",
|
||||
|
@ -58,25 +56,16 @@ var LanguagesGroup = map[string]string{
|
|||
"Parrot Internal Representation": "Parrot",
|
||||
"Pic": "Roff",
|
||||
"PostCSS": "CSS",
|
||||
"Pug": "HTML",
|
||||
"Python console": "Python",
|
||||
"Python traceback": "Python",
|
||||
"RHTML": "HTML",
|
||||
"Readline Config": "INI",
|
||||
"Roff Manpage": "Roff",
|
||||
"SCSS": "CSS",
|
||||
"SSH Config": "INI",
|
||||
"STON": "Smalltalk",
|
||||
"Sage": "Python",
|
||||
"Sass": "CSS",
|
||||
"Scaml": "HTML",
|
||||
"Slim": "HTML",
|
||||
"Stylus": "CSS",
|
||||
"SugarSS": "CSS",
|
||||
"Svelte": "HTML",
|
||||
"TSX": "TypeScript",
|
||||
"Tcsh": "Shell",
|
||||
"Twig": "HTML",
|
||||
"Unified Parallel C": "C",
|
||||
"Unix Assembly": "Assembly",
|
||||
"Wget Config": "INI",
|
||||
|
|
9
vendor/github.com/go-enry/go-enry/v2/data/interpreter.go
generated
vendored
9
vendor/github.com/go-enry/go-enry/v2/data/interpreter.go
generated
vendored
|
@ -1,9 +1,10 @@
|
|||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
||||
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||
|
||||
package data
|
||||
|
||||
var LanguagesByInterpreter = map[string][]string{
|
||||
"M2": {"Macaulay2"},
|
||||
"Rscript": {"R"},
|
||||
"apl": {"APL"},
|
||||
"aplx": {"APL"},
|
||||
|
@ -25,6 +26,7 @@ var LanguagesByInterpreter = map[string][]string{
|
|||
"cvc4": {"SMT"},
|
||||
"cwl-runner": {"Common Workflow Language"},
|
||||
"d8": {"JavaScript"},
|
||||
"dafny": {"Dafny"},
|
||||
"dart": {"Dart"},
|
||||
"dash": {"Shell"},
|
||||
"deno": {"TypeScript"},
|
||||
|
@ -70,8 +72,9 @@ var LanguagesByInterpreter = map[string][]string{
|
|||
"newlisp": {"NewLisp"},
|
||||
"nextflow": {"Nextflow"},
|
||||
"node": {"JavaScript"},
|
||||
"nodejs": {"JavaScript"},
|
||||
"nush": {"Nu"},
|
||||
"ocaml": {"OCaml", "Reason"},
|
||||
"ocaml": {"OCaml", "ReScript"},
|
||||
"ocamlrun": {"OCaml"},
|
||||
"ocamlscript": {"OCaml"},
|
||||
"openrc-run": {"OpenRC runscript"},
|
||||
|
@ -103,7 +106,9 @@ var LanguagesByInterpreter = map[string][]string{
|
|||
"rhino": {"JavaScript"},
|
||||
"ruby": {"Ruby"},
|
||||
"rune": {"E"},
|
||||
"runghc": {"Haskell"},
|
||||
"runhaskell": {"Haskell"},
|
||||
"runhugs": {"Haskell"},
|
||||
"sbcl": {"Common Lisp"},
|
||||
"scala": {"Scala"},
|
||||
"scheme": {"Scheme"},
|
||||
|
|
13
vendor/github.com/go-enry/go-enry/v2/data/mimeType.go
generated
vendored
13
vendor/github.com/go-enry/go-enry/v2/data/mimeType.go
generated
vendored
|
@ -1,5 +1,5 @@
|
|||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
||||
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||
|
||||
package data
|
||||
|
||||
|
@ -7,7 +7,7 @@ var LanguagesMime = map[string]string{
|
|||
"AGS Script": "text/x-c++src",
|
||||
"APL": "text/apl",
|
||||
"ASN.1": "text/x-ttcn-asn",
|
||||
"ASP": "application/x-aspx",
|
||||
"ASP.NET": "application/x-aspx",
|
||||
"Alpine Abuild": "text/x-sh",
|
||||
"AngelScript": "text/x-c++src",
|
||||
"Ant Build System": "application/xml",
|
||||
|
@ -61,6 +61,7 @@ var LanguagesMime = map[string]string{
|
|||
"Factor": "text/x-factor",
|
||||
"Forth": "text/x-forth",
|
||||
"Fortran": "text/x-fortran",
|
||||
"Fortran Free Form": "text/x-fortran",
|
||||
"GCC Machine Description": "text/x-common-lisp",
|
||||
"GN": "text/x-python",
|
||||
"Game Maker Language": "text/x-c++src",
|
||||
|
@ -105,12 +106,14 @@ var LanguagesMime = map[string]string{
|
|||
"JavaScript+ERB": "application/javascript",
|
||||
"Julia": "text/x-julia",
|
||||
"Jupyter Notebook": "application/json",
|
||||
"Kaitai Struct": "text/x-yaml",
|
||||
"KiCad Layout": "text/x-common-lisp",
|
||||
"Kit": "text/html",
|
||||
"Kotlin": "text/x-kotlin",
|
||||
"LFE": "text/x-common-lisp",
|
||||
"LTspice Symbol": "text/x-spreadsheet",
|
||||
"LabVIEW": "text/xml",
|
||||
"Lark": "text/x-ebnf",
|
||||
"Latte": "text/x-smarty",
|
||||
"Less": "text/css",
|
||||
"Literate Haskell": "text/x-literate-haskell",
|
||||
|
@ -130,7 +133,9 @@ var LanguagesMime = map[string]string{
|
|||
"Metal": "text/x-c++src",
|
||||
"Mirah": "text/x-ruby",
|
||||
"Modelica": "text/x-modelica",
|
||||
"Mustache": "text/x-smarty",
|
||||
"NSIS": "text/x-nsis",
|
||||
"NWScript": "text/x-csrc",
|
||||
"NetLogo": "text/x-common-lisp",
|
||||
"NewLisp": "text/x-common-lisp",
|
||||
"Nginx": "text/x-nginx-conf",
|
||||
|
@ -156,12 +161,13 @@ var LanguagesMime = map[string]string{
|
|||
"Puppet": "text/x-puppet",
|
||||
"PureScript": "text/x-haskell",
|
||||
"Python": "text/x-python",
|
||||
"Qt Script": "text/javascript",
|
||||
"R": "text/x-rsrc",
|
||||
"RAML": "text/x-yaml",
|
||||
"RHTML": "application/x-erb",
|
||||
"RMarkdown": "text/x-gfm",
|
||||
"RPM Spec": "text/x-rpm-spec",
|
||||
"Raku": "text/x-perl",
|
||||
"ReScript": "text/x-rustsrc",
|
||||
"Reason": "text/x-rustsrc",
|
||||
"Roff": "text/troff",
|
||||
"Roff Manpage": "text/troff",
|
||||
|
@ -183,6 +189,7 @@ var LanguagesMime = map[string]string{
|
|||
"Scheme": "text/x-scheme",
|
||||
"Shell": "text/x-sh",
|
||||
"ShellSession": "text/x-sh",
|
||||
"Sieve": "application/sieve",
|
||||
"Slim": "text/x-slim",
|
||||
"Smalltalk": "text/x-stsrc",
|
||||
"Smarty": "text/x-smarty",
|
||||
|
|
25
vendor/github.com/go-enry/go-enry/v2/data/type.go
generated
vendored
25
vendor/github.com/go-enry/go-enry/v2/data/type.go
generated
vendored
|
@ -1,5 +1,5 @@
|
|||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
||||
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||
|
||||
package data
|
||||
|
||||
|
@ -9,12 +9,14 @@ var LanguagesType = map[string]int{
|
|||
"ABAP": 2,
|
||||
"ABNF": 1,
|
||||
"AGS Script": 2,
|
||||
"AL": 2,
|
||||
"AMPL": 2,
|
||||
"ANTLR": 2,
|
||||
"API Blueprint": 3,
|
||||
"APL": 2,
|
||||
"ASL": 2,
|
||||
"ASN.1": 1,
|
||||
"ASP": 2,
|
||||
"ASP.NET": 2,
|
||||
"ATS": 2,
|
||||
"ActionScript": 2,
|
||||
"Ada": 2,
|
||||
|
@ -37,6 +39,7 @@ var LanguagesType = map[string]int{
|
|||
"Augeas": 2,
|
||||
"AutoHotkey": 2,
|
||||
"AutoIt": 2,
|
||||
"Avro IDL": 1,
|
||||
"Awk": 2,
|
||||
"Ballerina": 2,
|
||||
"Batchfile": 2,
|
||||
|
@ -73,6 +76,7 @@ var LanguagesType = map[string]int{
|
|||
"ChucK": 2,
|
||||
"Cirru": 2,
|
||||
"Clarion": 2,
|
||||
"Classic ASP": 2,
|
||||
"Clean": 2,
|
||||
"Click": 2,
|
||||
"Clojure": 2,
|
||||
|
@ -103,6 +107,7 @@ var LanguagesType = map[string]int{
|
|||
"DM": 2,
|
||||
"DNS Zone": 1,
|
||||
"DTrace": 2,
|
||||
"Dafny": 2,
|
||||
"Darcs Patch": 1,
|
||||
"Dart": 2,
|
||||
"DataWeave": 2,
|
||||
|
@ -143,8 +148,10 @@ var LanguagesType = map[string]int{
|
|||
"Formatted": 1,
|
||||
"Forth": 2,
|
||||
"Fortran": 2,
|
||||
"Fortran Free Form": 2,
|
||||
"FreeMarker": 2,
|
||||
"Frege": 2,
|
||||
"Futhark": 2,
|
||||
"G-code": 2,
|
||||
"GAML": 2,
|
||||
"GAMS": 2,
|
||||
|
@ -152,6 +159,7 @@ var LanguagesType = map[string]int{
|
|||
"GCC Machine Description": 2,
|
||||
"GDB": 2,
|
||||
"GDScript": 2,
|
||||
"GEDCOM": 1,
|
||||
"GLSL": 2,
|
||||
"GN": 1,
|
||||
"Game Maker Language": 2,
|
||||
|
@ -233,6 +241,7 @@ var LanguagesType = map[string]int{
|
|||
"Julia": 2,
|
||||
"Jupyter Notebook": 3,
|
||||
"KRL": 2,
|
||||
"Kaitai Struct": 2,
|
||||
"KiCad Layout": 1,
|
||||
"KiCad Legacy Layout": 1,
|
||||
"KiCad Schematic": 1,
|
||||
|
@ -244,6 +253,7 @@ var LanguagesType = map[string]int{
|
|||
"LSL": 2,
|
||||
"LTspice Symbol": 1,
|
||||
"LabVIEW": 2,
|
||||
"Lark": 1,
|
||||
"Lasso": 2,
|
||||
"Latte": 3,
|
||||
"Lean": 2,
|
||||
|
@ -273,6 +283,7 @@ var LanguagesType = map[string]int{
|
|||
"MQL5": 2,
|
||||
"MTML": 3,
|
||||
"MUF": 2,
|
||||
"Macaulay2": 2,
|
||||
"Makefile": 2,
|
||||
"Mako": 2,
|
||||
"Markdown": 4,
|
||||
|
@ -297,12 +308,15 @@ var LanguagesType = map[string]int{
|
|||
"MoonScript": 2,
|
||||
"Motorola 68K Assembly": 2,
|
||||
"Muse": 4,
|
||||
"Mustache": 3,
|
||||
"Myghty": 2,
|
||||
"NASL": 2,
|
||||
"NCL": 2,
|
||||
"NEON": 1,
|
||||
"NL": 1,
|
||||
"NPM Config": 1,
|
||||
"NSIS": 2,
|
||||
"NWScript": 2,
|
||||
"Nearley": 2,
|
||||
"Nemerle": 2,
|
||||
"NetLinx": 2,
|
||||
|
@ -383,15 +397,16 @@ var LanguagesType = map[string]int{
|
|||
"Python": 2,
|
||||
"Python console": 2,
|
||||
"Python traceback": 1,
|
||||
"Q#": 2,
|
||||
"QML": 2,
|
||||
"QMake": 2,
|
||||
"Qt Script": 2,
|
||||
"Quake": 2,
|
||||
"R": 2,
|
||||
"RAML": 3,
|
||||
"RDoc": 4,
|
||||
"REALbasic": 2,
|
||||
"REXX": 2,
|
||||
"RHTML": 3,
|
||||
"RMarkdown": 4,
|
||||
"RPC": 2,
|
||||
"RPM Spec": 1,
|
||||
|
@ -401,6 +416,7 @@ var LanguagesType = map[string]int{
|
|||
"Raku": 2,
|
||||
"Rascal": 2,
|
||||
"Raw token data": 1,
|
||||
"ReScript": 2,
|
||||
"Readline Config": 1,
|
||||
"Reason": 2,
|
||||
"Rebol": 2,
|
||||
|
@ -442,6 +458,7 @@ var LanguagesType = map[string]int{
|
|||
"Shell": 2,
|
||||
"ShellSession": 2,
|
||||
"Shen": 2,
|
||||
"Sieve": 2,
|
||||
"Slash": 2,
|
||||
"Slice": 2,
|
||||
"Slim": 3,
|
||||
|
@ -468,6 +485,7 @@ var LanguagesType = map[string]int{
|
|||
"TLA": 2,
|
||||
"TOML": 1,
|
||||
"TSQL": 2,
|
||||
"TSV": 1,
|
||||
"TSX": 2,
|
||||
"TXL": 2,
|
||||
"Tcl": 2,
|
||||
|
@ -497,6 +515,7 @@ var LanguagesType = map[string]int{
|
|||
"VHDL": 2,
|
||||
"Vala": 2,
|
||||
"Verilog": 2,
|
||||
"Vim Help File": 4,
|
||||
"Vim Snippet": 3,
|
||||
"Vim script": 2,
|
||||
"Visual Basic .NET": 2,
|
||||
|
|
126
vendor/github.com/go-enry/go-enry/v2/data/vendor.go
generated
vendored
126
vendor/github.com/go-enry/go-enry/v2/data/vendor.go
generated
vendored
|
@ -1,5 +1,5 @@
|
|||
// Code generated by github.com/go-enry/go-enry/v2/internal/code-generator DO NOT EDIT.
|
||||
// Extracted from github/linguist commit: 40992ba7f86889f80dfed3ba95e11e1082200bad
|
||||
// Extracted from github/linguist commit: 223c00bb80eff04788e29010f98c5778993d2b2a
|
||||
|
||||
package data
|
||||
|
||||
|
@ -11,25 +11,29 @@ var VendorMatchers = []regex.EnryRegexp{
|
|||
regex.MustCompile(`(^|/)dist/`),
|
||||
regex.MustCompile(`^deps/`),
|
||||
regex.MustCompile(`(^|/)configure$`),
|
||||
regex.MustCompile(`(^|/)config.guess$`),
|
||||
regex.MustCompile(`(^|/)config.sub$`),
|
||||
regex.MustCompile(`(^|/)aclocal.m4`),
|
||||
regex.MustCompile(`(^|/)libtool.m4`),
|
||||
regex.MustCompile(`(^|/)ltoptions.m4`),
|
||||
regex.MustCompile(`(^|/)ltsugar.m4`),
|
||||
regex.MustCompile(`(^|/)ltversion.m4`),
|
||||
regex.MustCompile(`(^|/)lt~obsolete.m4`),
|
||||
regex.MustCompile(`dotnet-install\.(ps1|sh)$`),
|
||||
regex.MustCompile(`cpplint.py`),
|
||||
regex.MustCompile(`node_modules/`),
|
||||
regex.MustCompile(`(^|/)config\.guess$`),
|
||||
regex.MustCompile(`(^|/)config\.sub$`),
|
||||
regex.MustCompile(`(^|/)aclocal\.m4`),
|
||||
regex.MustCompile(`(^|/)libtool\.m4`),
|
||||
regex.MustCompile(`(^|/)ltoptions\.m4`),
|
||||
regex.MustCompile(`(^|/)ltsugar\.m4`),
|
||||
regex.MustCompile(`(^|/)ltversion\.m4`),
|
||||
regex.MustCompile(`(^|/)lt~obsolete\.m4`),
|
||||
regex.MustCompile(`(^|/)dotnet-install\.(ps1|sh)$`),
|
||||
regex.MustCompile(`(^|/)cpplint\.py`),
|
||||
regex.MustCompile(`(^|/)node_modules/`),
|
||||
regex.MustCompile(`(^|/)\.yarn/releases/`),
|
||||
regex.MustCompile(`(^|/)\.yarn/plugins/`),
|
||||
regex.MustCompile(`(^|/)\.yarn/sdks/`),
|
||||
regex.MustCompile(`(^|/)\.yarn/versions/`),
|
||||
regex.MustCompile(`(^|/)\.yarn/unplugged/`),
|
||||
regex.MustCompile(`(^|/)_esy$`),
|
||||
regex.MustCompile(`bower_components/`),
|
||||
regex.MustCompile(`(^|/)bower_components/`),
|
||||
regex.MustCompile(`^rebar$`),
|
||||
regex.MustCompile(`erlang.mk`),
|
||||
regex.MustCompile(`Godeps/_workspace/`),
|
||||
regex.MustCompile(`(^|/)erlang\.mk`),
|
||||
regex.MustCompile(`(^|/)Godeps/_workspace/`),
|
||||
regex.MustCompile(`(^|/)testdata/`),
|
||||
regex.MustCompile(`.indent.pro`),
|
||||
regex.MustCompile(`(^|/)\.indent\.pro`),
|
||||
regex.MustCompile(`(\.|-)min\.(js|css)$`),
|
||||
regex.MustCompile(`([^\s]*)import\.(css|less|scss|styl)$`),
|
||||
regex.MustCompile(`(^|/)bootstrap([^.]*)\.(js|css|less|scss|styl)$`),
|
||||
|
@ -45,34 +49,34 @@ var VendorMatchers = []regex.EnryRegexp{
|
|||
regex.MustCompile(`(^|/)select2/.*\.(css|scss|js)$`),
|
||||
regex.MustCompile(`(^|/)bulma\.(css|sass|scss)$`),
|
||||
regex.MustCompile(`(3rd|[Tt]hird)[-_]?[Pp]arty/`),
|
||||
regex.MustCompile(`vendors?/`),
|
||||
regex.MustCompile(`extern(al)?/`),
|
||||
regex.MustCompile(`(^|/)vendors?/`),
|
||||
regex.MustCompile(`(^|/)extern(al)?/`),
|
||||
regex.MustCompile(`(^|/)[Vv]+endor/`),
|
||||
regex.MustCompile(`^debian/`),
|
||||
regex.MustCompile(`run.n$`),
|
||||
regex.MustCompile(`bootstrap-datepicker/`),
|
||||
regex.MustCompile(`(^|/)run\.n$`),
|
||||
regex.MustCompile(`(^|/)bootstrap-datepicker/`),
|
||||
regex.MustCompile(`(^|/)jquery([^.]*)\.js$`),
|
||||
regex.MustCompile(`(^|/)jquery\-\d\.\d+(\.\d+)?\.js$`),
|
||||
regex.MustCompile(`(^|/)jquery\-ui(\-\d\.\d+(\.\d+)?)?(\.\w+)?\.(js|css)$`),
|
||||
regex.MustCompile(`(^|/)jquery\.(ui|effects)\.([^.]*)\.(js|css)$`),
|
||||
regex.MustCompile(`jquery.fn.gantt.js`),
|
||||
regex.MustCompile(`jquery.fancybox.(js|css)`),
|
||||
regex.MustCompile(`fuelux.js`),
|
||||
regex.MustCompile(`(^|/)jquery\.fn\.gantt\.js`),
|
||||
regex.MustCompile(`(^|/)jquery\.fancybox\.(js|css)`),
|
||||
regex.MustCompile(`(^|/)fuelux\.js`),
|
||||
regex.MustCompile(`(^|/)jquery\.fileupload(-\w+)?\.js$`),
|
||||
regex.MustCompile(`jquery.dataTables.js`),
|
||||
regex.MustCompile(`bootbox.js`),
|
||||
regex.MustCompile(`pdf.worker.js`),
|
||||
regex.MustCompile(`(^|/)jquery\.dataTables\.js`),
|
||||
regex.MustCompile(`(^|/)bootbox\.js`),
|
||||
regex.MustCompile(`(^|/)pdf\.worker\.js`),
|
||||
regex.MustCompile(`(^|/)slick\.\w+.js$`),
|
||||
regex.MustCompile(`(^|/)Leaflet\.Coordinates-\d+\.\d+\.\d+\.src\.js$`),
|
||||
regex.MustCompile(`leaflet.draw-src.js`),
|
||||
regex.MustCompile(`leaflet.draw.css`),
|
||||
regex.MustCompile(`Control.FullScreen.css`),
|
||||
regex.MustCompile(`Control.FullScreen.js`),
|
||||
regex.MustCompile(`leaflet.spin.js`),
|
||||
regex.MustCompile(`wicket-leaflet.js`),
|
||||
regex.MustCompile(`.sublime-project`),
|
||||
regex.MustCompile(`.sublime-workspace`),
|
||||
regex.MustCompile(`.vscode`),
|
||||
regex.MustCompile(`(^|/)leaflet\.draw-src\.js`),
|
||||
regex.MustCompile(`(^|/)leaflet\.draw\.css`),
|
||||
regex.MustCompile(`(^|/)Control\.FullScreen\.css`),
|
||||
regex.MustCompile(`(^|/)Control\.FullScreen\.js`),
|
||||
regex.MustCompile(`(^|/)leaflet\.spin\.js`),
|
||||
regex.MustCompile(`(^|/)wicket-leaflet\.js`),
|
||||
regex.MustCompile(`(^|/)\.sublime-project`),
|
||||
regex.MustCompile(`(^|/)\.sublime-workspace`),
|
||||
regex.MustCompile(`(^|/)\.vscode/`),
|
||||
regex.MustCompile(`(^|/)prototype(.*)\.js$`),
|
||||
regex.MustCompile(`(^|/)effects\.js$`),
|
||||
regex.MustCompile(`(^|/)controls\.js$`),
|
||||
|
@ -104,21 +108,21 @@ var VendorMatchers = []regex.EnryRegexp{
|
|||
regex.MustCompile(`(^|/)docs?/_?(build|themes?|templates?|static)/`),
|
||||
regex.MustCompile(`(^|/)admin_media/`),
|
||||
regex.MustCompile(`(^|/)env/`),
|
||||
regex.MustCompile(`^fabfile\.py$`),
|
||||
regex.MustCompile(`^waf$`),
|
||||
regex.MustCompile(`^.osx$`),
|
||||
regex.MustCompile(`(^|/)fabfile\.py$`),
|
||||
regex.MustCompile(`(^|/)waf$`),
|
||||
regex.MustCompile(`(^|/)\.osx$`),
|
||||
regex.MustCompile(`\.xctemplate/`),
|
||||
regex.MustCompile(`\.imageset/`),
|
||||
regex.MustCompile(`(^|/)Carthage/`),
|
||||
regex.MustCompile(`(^|/)Sparkle/`),
|
||||
regex.MustCompile(`Crashlytics.framework/`),
|
||||
regex.MustCompile(`Fabric.framework/`),
|
||||
regex.MustCompile(`BuddyBuildSDK.framework/`),
|
||||
regex.MustCompile(`Realm.framework`),
|
||||
regex.MustCompile(`RealmSwift.framework`),
|
||||
regex.MustCompile(`gitattributes$`),
|
||||
regex.MustCompile(`gitignore$`),
|
||||
regex.MustCompile(`gitmodules$`),
|
||||
regex.MustCompile(`(^|/)Crashlytics\.framework/`),
|
||||
regex.MustCompile(`(^|/)Fabric\.framework/`),
|
||||
regex.MustCompile(`(^|/)BuddyBuildSDK\.framework/`),
|
||||
regex.MustCompile(`(^|/)Realm\.framework`),
|
||||
regex.MustCompile(`(^|/)RealmSwift\.framework`),
|
||||
regex.MustCompile(`(^|/)\.gitattributes$`),
|
||||
regex.MustCompile(`(^|/)\.gitignore$`),
|
||||
regex.MustCompile(`(^|/)\.gitmodules$`),
|
||||
regex.MustCompile(`(^|/)gradlew$`),
|
||||
regex.MustCompile(`(^|/)gradlew\.bat$`),
|
||||
regex.MustCompile(`(^|/)gradle/wrapper/`),
|
||||
|
@ -130,13 +134,13 @@ var VendorMatchers = []regex.EnryRegexp{
|
|||
regex.MustCompile(`(^|/)jquery([^.]*)\.validate(\.unobtrusive)?\.js$`),
|
||||
regex.MustCompile(`(^|/)jquery([^.]*)\.unobtrusive\-ajax\.js$`),
|
||||
regex.MustCompile(`(^|/)[Mm]icrosoft([Mm]vc)?([Aa]jax|[Vv]alidation)(\.debug)?\.js$`),
|
||||
regex.MustCompile(`^[Pp]ackages\/.+\.\d+\/`),
|
||||
regex.MustCompile(`(^|/)[Pp]ackages\/.+\.\d+\/`),
|
||||
regex.MustCompile(`(^|/)extjs/.*?\.js$`),
|
||||
regex.MustCompile(`(^|/)extjs/.*?\.xml$`),
|
||||
regex.MustCompile(`(^|/)extjs/.*?\.txt$`),
|
||||
regex.MustCompile(`(^|/)extjs/.*?\.html$`),
|
||||
regex.MustCompile(`(^|/)extjs/.*?\.properties$`),
|
||||
regex.MustCompile(`(^|/)extjs/.sencha/`),
|
||||
regex.MustCompile(`(^|/)extjs/\.sencha/`),
|
||||
regex.MustCompile(`(^|/)extjs/docs/`),
|
||||
regex.MustCompile(`(^|/)extjs/builds/`),
|
||||
regex.MustCompile(`(^|/)extjs/cmd/`),
|
||||
|
@ -148,22 +152,22 @@ var VendorMatchers = []regex.EnryRegexp{
|
|||
regex.MustCompile(`(^|/)extjs/src/`),
|
||||
regex.MustCompile(`(^|/)extjs/welcome/`),
|
||||
regex.MustCompile(`(^|/)html5shiv\.js$`),
|
||||
regex.MustCompile(`^[Tt]ests?/fixtures/`),
|
||||
regex.MustCompile(`^[Ss]pecs?/fixtures/`),
|
||||
regex.MustCompile(`(^|/)[Tt]ests?/fixtures/`),
|
||||
regex.MustCompile(`(^|/)[Ss]pecs?/fixtures/`),
|
||||
regex.MustCompile(`(^|/)cordova([^.]*)\.js$`),
|
||||
regex.MustCompile(`(^|/)cordova\-\d\.\d(\.\d)?\.js$`),
|
||||
regex.MustCompile(`foundation(\..*)?\.js$`),
|
||||
regex.MustCompile(`^Vagrantfile$`),
|
||||
regex.MustCompile(`.[Dd][Ss]_[Ss]tore$`),
|
||||
regex.MustCompile(`^vignettes/`),
|
||||
regex.MustCompile(`^inst/extdata/`),
|
||||
regex.MustCompile(`octicons.css`),
|
||||
regex.MustCompile(`sprockets-octicons.scss`),
|
||||
regex.MustCompile(`(^|/)foundation(\..*)?\.js$`),
|
||||
regex.MustCompile(`(^|/)Vagrantfile$`),
|
||||
regex.MustCompile(`(^|/)\.[Dd][Ss]_[Ss]tore$`),
|
||||
regex.MustCompile(`(^|/)vignettes/`),
|
||||
regex.MustCompile(`(^|/)inst/extdata/`),
|
||||
regex.MustCompile(`(^|/)octicons\.css`),
|
||||
regex.MustCompile(`(^|/)sprockets-octicons\.scss`),
|
||||
regex.MustCompile(`(^|/)activator$`),
|
||||
regex.MustCompile(`(^|/)activator\.bat$`),
|
||||
regex.MustCompile(`proguard.pro`),
|
||||
regex.MustCompile(`proguard-rules.pro`),
|
||||
regex.MustCompile(`^puphpet/`),
|
||||
regex.MustCompile(`(^|/)proguard\.pro$`),
|
||||
regex.MustCompile(`(^|/)proguard-rules\.pro$`),
|
||||
regex.MustCompile(`(^|/)puphpet/`),
|
||||
regex.MustCompile(`(^|/)\.google_apis/`),
|
||||
regex.MustCompile(`^Jenkinsfile$`),
|
||||
regex.MustCompile(`(^|/)Jenkinsfile$`),
|
||||
}
|
||||
|
|
2
vendor/modules.txt
vendored
2
vendor/modules.txt
vendored
|
@ -273,7 +273,7 @@ github.com/go-asn1-ber/asn1-ber
|
|||
## explicit
|
||||
github.com/go-chi/chi
|
||||
github.com/go-chi/chi/middleware
|
||||
# github.com/go-enry/go-enry/v2 v2.5.2
|
||||
# github.com/go-enry/go-enry/v2 v2.6.0
|
||||
## explicit
|
||||
github.com/go-enry/go-enry/v2
|
||||
github.com/go-enry/go-enry/v2/data
|
||||
|
|
Reference in a new issue