Skip to content

How to do heuristics only based on text not extension? #10

@pvonmoradi

Description

@pvonmoradi

For example grab a C file, change its extension to .go. All github-linguist, enry and hyperpolyglot detect it as a Go source.
If I remove the extension, hyperpolyglot returns empty.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions