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§
- Builder
- Builds a new
Gengo
instance. - Directory
- A file source that reads files from a directory.
- Entry
- A single entry in the language statistics.
- Error
- Gengo
- The main entry point for Gengo.
- Git
Enums§
- Error
Kind - The kind of error that occurred.
Traits§
- File
Source - Provides files and overrides.