Crate gengo

source ·
Expand description

Gengo is a language detection library for collections of files. Currently, it supports reading from git repositories.

§Example

use gengo::{Builder, Git};
let git = Git::new("path/to/repo", "HEAD").unwrap();
let gengo = Builder::new(git).build().unwrap();
let results = gengo.analyze().unwrap();

Re-exports§

Modules§

Structs§

  • Builds a new Gengo instance.
  • A file source that reads files from a directory.
  • A single entry in the language statistics.
  • The main entry point for Gengo.

Enums§

Traits§