[][src]Crate hyperpolyglot

Hyperpolyglot

hyperpolyglot is a fast programming language detector.

Structs

Language

The language struct that contains the name and other interesting information about a language.

Enums

Detection

An enum where the variant is the strategy that detected the language and the value is the name of the language

LanguageType

The set of possible language types

Functions

detect

Detects the programming language of the file at a given path

get_language_breakdown

Walks the path provided and tallies the programming languages detected in the given path