Struct git_anger_management::Repo
source · pub struct Repo {
pub name: String,
pub total_commits: usize,
pub total_curses: usize,
pub curses: HashMap<String, usize>,
pub authors: HashMap<String, Author>,
}
Expand description
A simple representation of a git repository.
Fields§
§name: String
Name of the repository.
total_commits: usize
Count of the total amount of commits in the repository.
total_curses: usize
Count of the total amount of curses used in the commits.
curses: HashMap<String, usize>
HashMap of all the naughty words used by the authors.
HashMap of all the authors that have been committed.