mirror of
https://github.com/ralsina/tartrazine.git
synced 2024-11-13 23:12:24 +00:00
c6d74bca66
fixed autogenerated comment changed constant types names GetLanguageByShebang doesn't print errors languageInfo struct change to have only necessary fields GetLanguageByShebang has a comment now
26 lines
930 B
Plaintext
26 lines
930 B
Plaintext
package slinguist
|
|
|
|
// CODE GENERATED AUTOMATICALLY WITH gopkg.in/src-d/simple-linguist.v1/internal/code-generator
|
|
// THIS FILE SHOULD NOT BE EDITED BY HAND
|
|
// Extracted from github/linguist commit: fe8b44ab8a225b1ffa75b983b916ea22fee5b6f7
|
|
|
|
import "gopkg.in/toqueteos/substring.v1"
|
|
|
|
var documentationMatchers = substring.Or(
|
|
substring.Regexp(`^[Dd]ocs?/`),
|
|
substring.Regexp(`(^|/)[Dd]ocumentation/`),
|
|
substring.Regexp(`(^|/)[Jj]avadoc/`),
|
|
substring.Regexp(`^[Mm]an/`),
|
|
substring.Regexp(`^[Ee]xamples/`),
|
|
substring.Regexp(`^[Dd]emos?/`),
|
|
substring.Regexp(`(^|/)CHANGE(S|LOG)?(\.|$)`),
|
|
substring.Regexp(`(^|/)CONTRIBUTING(\.|$)`),
|
|
substring.Regexp(`(^|/)COPYING(\.|$)`),
|
|
substring.Regexp(`(^|/)INSTALL(\.|$)`),
|
|
substring.Regexp(`(^|/)LICEN[CS]E(\.|$)`),
|
|
substring.Regexp(`(^|/)[Ll]icen[cs]e(\.|$)`),
|
|
substring.Regexp(`(^|/)README(\.|$)`),
|
|
substring.Regexp(`(^|/)[Rr]eadme(\.|$)`),
|
|
substring.Regexp(`^[Ss]amples?/`),
|
|
)
|