blob: b96f4a9c7e7d18cdf2b896eee23c9471b8ddaaf6 [file] [log] [blame]
use crate::config::{
tree::{keys, Key, Mailmap, Section},
Tree,
};
impl Mailmap {
/// The `mailmap.blob` key
pub const BLOB: keys::String = keys::String::new_string("blob", &Tree::MAILMAP);
/// The `mailmap.file` key
pub const FILE: keys::Path = keys::Path::new_path("file", &Tree::MAILMAP);
}
impl Section for Mailmap {
fn name(&self) -> &str {
"mailmap"
}
fn keys(&self) -> &[&dyn Key] {
&[&Self::BLOB, &Self::FILE]
}
}