package
2.1.0
Repository: https://github.com/src-d/enry.git
Documentation: pkg.go.dev

# Functions

Aliases reads from fileToParse and builds source file from tmplPath.
Colors generates a map in Go with language name -> color string.
Commit takes a commit and builds the source file from tmplPath.
Documentation generates regex matchers in Go for documentation files/dirs.
Extensions reads from fileToParse and builds source file from tmplPath.
Filenames reads from fileToParse and builds source file from tmplPath.
Frequencies reads directories in samplesDir, retrieves information about frequencies of languages and tokens, and write the file outPath using tmplName as a template.
GenHeuristics generates language identification heuristics in Go.
Interpreters reads from fileToParse and builds source file from tmplPath.
MimeType generates a map in Go with language name -> MIME string.
Types reads from fileToParse and builds source file from tmplPath.
Vendor generates regex matchers in Go for vendoring files/dirs.

# Structs

No description provided by the author
No description provided by the author
LanguagePattern is an IR of parsed Rule suitable for code generations.
No description provided by the author
No description provided by the author

# Type aliases

File is a common type for all generator functions.
StringArray is workaround for parsing named_pattern, wich is sometimes arry and sometimes not.