mirror of
https://github.com/go-gitea/gitea
synced 2024-09-17 17:26:05 +00:00
ad2642a8aa
* 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
227 lines
11 KiB
Go
227 lines
11 KiB
Go
// Code generated by github.com/src-d/enry/v2/internal/code-generator DO NOT EDIT.
|
|
// Extracted from github/linguist commit: 3a1bd3c3d3e741a8aaec4704f782e06f5cd2a00d
|
|
|
|
package data
|
|
|
|
var LanguagesMime = map[string]string{
|
|
"AGS Script": "text/x-c++src",
|
|
"APL": "text/apl",
|
|
"ASN.1": "text/x-ttcn-asn",
|
|
"ASP": "application/x-aspx",
|
|
"Alpine Abuild": "text/x-sh",
|
|
"AngelScript": "text/x-c++src",
|
|
"Ant Build System": "application/xml",
|
|
"Apex": "text/x-java",
|
|
"Asymptote": "text/x-kotlin",
|
|
"Brainfuck": "text/x-brainfuck",
|
|
"C": "text/x-csrc",
|
|
"C#": "text/x-csharp",
|
|
"C++": "text/x-c++src",
|
|
"C2hs Haskell": "text/x-haskell",
|
|
"CMake": "text/x-cmake",
|
|
"COBOL": "text/x-cobol",
|
|
"COLLADA": "text/xml",
|
|
"CSON": "text/x-coffeescript",
|
|
"CSS": "text/css",
|
|
"Cabal Config": "text/x-haskell",
|
|
"ChucK": "text/x-java",
|
|
"Clojure": "text/x-clojure",
|
|
"Closure Templates": "text/x-soy",
|
|
"Cloud Firestore Security Rules": "text/css",
|
|
"CoffeeScript": "text/x-coffeescript",
|
|
"Common Lisp": "text/x-common-lisp",
|
|
"Common Workflow Language": "text/x-yaml",
|
|
"Component Pascal": "text/x-pascal",
|
|
"Crystal": "text/x-crystal",
|
|
"Cuda": "text/x-c++src",
|
|
"Cycript": "text/javascript",
|
|
"Cython": "text/x-cython",
|
|
"D": "text/x-d",
|
|
"DTrace": "text/x-csrc",
|
|
"Dart": "application/dart",
|
|
"Dhall": "text/x-haskell",
|
|
"Diff": "text/x-diff",
|
|
"Dockerfile": "text/x-dockerfile",
|
|
"Dylan": "text/x-dylan",
|
|
"EBNF": "text/x-ebnf",
|
|
"ECL": "text/x-ecl",
|
|
"EQ": "text/x-csharp",
|
|
"Eagle": "text/xml",
|
|
"Easybuild": "text/x-python",
|
|
"Ecere Projects": "application/json",
|
|
"EditorConfig": "text/x-properties",
|
|
"Edje Data Collection": "application/json",
|
|
"Eiffel": "text/x-eiffel",
|
|
"Elm": "text/x-elm",
|
|
"Emacs Lisp": "text/x-common-lisp",
|
|
"EmberScript": "text/x-coffeescript",
|
|
"Erlang": "text/x-erlang",
|
|
"F#": "text/x-fsharp",
|
|
"Factor": "text/x-factor",
|
|
"Forth": "text/x-forth",
|
|
"Fortran": "text/x-fortran",
|
|
"GCC Machine Description": "text/x-common-lisp",
|
|
"GN": "text/x-python",
|
|
"Game Maker Language": "text/x-c++src",
|
|
"Genshi": "text/xml",
|
|
"Gentoo Ebuild": "text/x-sh",
|
|
"Gentoo Eclass": "text/x-sh",
|
|
"Git Attributes": "text/x-sh",
|
|
"Git Config": "text/x-properties",
|
|
"Glyph": "text/x-tcl",
|
|
"Go": "text/x-go",
|
|
"Grammatical Framework": "text/x-haskell",
|
|
"Groovy": "text/x-groovy",
|
|
"Groovy Server Pages": "application/x-jsp",
|
|
"HCL": "text/x-ruby",
|
|
"HTML": "text/html",
|
|
"HTML+Django": "text/x-django",
|
|
"HTML+ECR": "text/html",
|
|
"HTML+EEX": "text/html",
|
|
"HTML+ERB": "application/x-erb",
|
|
"HTML+PHP": "application/x-httpd-php",
|
|
"HTML+Razor": "text/html",
|
|
"HTTP": "message/http",
|
|
"Hack": "application/x-httpd-php",
|
|
"Haml": "text/x-haml",
|
|
"Haskell": "text/x-haskell",
|
|
"Haxe": "text/x-haxe",
|
|
"HolyC": "text/x-csrc",
|
|
"IDL": "text/x-idl",
|
|
"INI": "text/x-properties",
|
|
"IRC log": "text/mirc",
|
|
"Ignore List": "text/x-sh",
|
|
"JSON": "application/json",
|
|
"JSON with Comments": "text/javascript",
|
|
"JSON5": "application/json",
|
|
"JSONLD": "application/json",
|
|
"JSONiq": "application/json",
|
|
"JSX": "text/jsx",
|
|
"Java": "text/x-java",
|
|
"Java Properties": "text/x-properties",
|
|
"Java Server Pages": "application/x-jsp",
|
|
"JavaScript": "text/javascript",
|
|
"JavaScript+ERB": "application/javascript",
|
|
"Julia": "text/x-julia",
|
|
"Jupyter Notebook": "application/json",
|
|
"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",
|
|
"Latte": "text/x-smarty",
|
|
"Less": "text/css",
|
|
"Literate Haskell": "text/x-literate-haskell",
|
|
"LiveScript": "text/x-livescript",
|
|
"LookML": "text/x-yaml",
|
|
"Lua": "text/x-lua",
|
|
"M": "text/x-mumps",
|
|
"MATLAB": "text/x-octave",
|
|
"MTML": "text/html",
|
|
"MUF": "text/x-forth",
|
|
"Makefile": "text/x-cmake",
|
|
"Markdown": "text/x-gfm",
|
|
"Marko": "text/html",
|
|
"Mathematica": "text/x-mathematica",
|
|
"Maven POM": "text/xml",
|
|
"Max": "application/json",
|
|
"Metal": "text/x-c++src",
|
|
"Mirah": "text/x-ruby",
|
|
"Modelica": "text/x-modelica",
|
|
"NSIS": "text/x-nsis",
|
|
"NetLogo": "text/x-common-lisp",
|
|
"NewLisp": "text/x-common-lisp",
|
|
"Nginx": "text/x-nginx-conf",
|
|
"Nu": "text/x-scheme",
|
|
"NumPy": "text/x-python",
|
|
"OCaml": "text/x-ocaml",
|
|
"Objective-C": "text/x-objectivec",
|
|
"Objective-C++": "text/x-objectivec",
|
|
"OpenCL": "text/x-csrc",
|
|
"OpenRC runscript": "text/x-sh",
|
|
"Oz": "text/x-oz",
|
|
"PHP": "application/x-httpd-php",
|
|
"PLSQL": "text/x-plsql",
|
|
"PLpgSQL": "text/x-sql",
|
|
"Pascal": "text/x-pascal",
|
|
"Perl": "text/x-perl",
|
|
"Perl 6": "text/x-perl",
|
|
"Pic": "text/troff",
|
|
"Pod": "text/x-perl",
|
|
"PowerShell": "application/x-powershell",
|
|
"Protocol Buffer": "text/x-protobuf",
|
|
"Public Key": "application/pgp",
|
|
"Pug": "text/x-pug",
|
|
"Puppet": "text/x-puppet",
|
|
"PureScript": "text/x-haskell",
|
|
"Python": "text/x-python",
|
|
"R": "text/x-rsrc",
|
|
"RAML": "text/x-yaml",
|
|
"RHTML": "application/x-erb",
|
|
"RMarkdown": "text/x-gfm",
|
|
"RPM Spec": "text/x-rpm-spec",
|
|
"Reason": "text/x-rustsrc",
|
|
"Roff": "text/troff",
|
|
"Roff Manpage": "text/troff",
|
|
"Rouge": "text/x-clojure",
|
|
"Ruby": "text/x-ruby",
|
|
"Rust": "text/x-rustsrc",
|
|
"SAS": "text/x-sas",
|
|
"SCSS": "text/x-scss",
|
|
"SPARQL": "application/sparql-query",
|
|
"SQL": "text/x-sql",
|
|
"SQLPL": "text/x-sql",
|
|
"SRecode Template": "text/x-common-lisp",
|
|
"SVG": "text/xml",
|
|
"Sage": "text/x-python",
|
|
"SaltStack": "text/x-yaml",
|
|
"Sass": "text/x-sass",
|
|
"Scala": "text/x-scala",
|
|
"Scheme": "text/x-scheme",
|
|
"Shell": "text/x-sh",
|
|
"ShellSession": "text/x-sh",
|
|
"Slim": "text/x-slim",
|
|
"Smalltalk": "text/x-stsrc",
|
|
"Smarty": "text/x-smarty",
|
|
"Squirrel": "text/x-c++src",
|
|
"Standard ML": "text/x-ocaml",
|
|
"Svelte": "text/html",
|
|
"Swift": "text/x-swift",
|
|
"SystemVerilog": "text/x-systemverilog",
|
|
"TOML": "text/x-toml",
|
|
"TSX": "text/jsx",
|
|
"Tcl": "text/x-tcl",
|
|
"Tcsh": "text/x-sh",
|
|
"TeX": "text/x-stex",
|
|
"Terra": "text/x-lua",
|
|
"Textile": "text/x-textile",
|
|
"Turtle": "text/turtle",
|
|
"Twig": "text/x-twig",
|
|
"TypeScript": "application/typescript",
|
|
"Unified Parallel C": "text/x-csrc",
|
|
"Unity3D Asset": "text/x-yaml",
|
|
"Uno": "text/x-csharp",
|
|
"UnrealScript": "text/x-java",
|
|
"VHDL": "text/x-vhdl",
|
|
"Verilog": "text/x-verilog",
|
|
"Visual Basic": "text/x-vb",
|
|
"Volt": "text/x-d",
|
|
"WebAssembly": "text/x-common-lisp",
|
|
"WebIDL": "text/x-webidl",
|
|
"Windows Registry Entries": "text/x-properties",
|
|
"X BitMap": "text/x-csrc",
|
|
"X PixMap": "text/x-csrc",
|
|
"XC": "text/x-csrc",
|
|
"XML": "text/xml",
|
|
"XPages": "text/xml",
|
|
"XProc": "text/xml",
|
|
"XQuery": "application/xquery",
|
|
"XS": "text/x-csrc",
|
|
"XSLT": "text/xml",
|
|
"YAML": "text/x-yaml",
|
|
"edn": "text/x-clojure",
|
|
"reStructuredText": "text/x-rst",
|
|
"wisp": "text/x-clojure",
|
|
}
|