Trait mit_commit_message_lints::external::Vcs [−][src]
pub trait Vcs { fn entries(&self, glob: Option<&str>) -> Result<Vec<String>, Error>; fn get_bool(&self, name: &str) -> Result<Option<bool>, Error>; fn get_str(&self, name: &str) -> Result<Option<&str>, Error>; fn get_i64(&self, name: &str) -> Result<Option<i64>, Error>; fn set_str(&mut self, name: &str, value: &str) -> Result<(), Error>; fn set_i64(&mut self, name: &str, value: i64) -> Result<(), Error>; fn remove(&mut self, name: &str) -> Result<(), Error>; }
Required methods
Errors
If we can’t read the config, or it’s not parsable into a bool
Errors
If we can’t read the config, or it’s not parsable into a bool
Errors
If we can’t read the config, or it’s not parsable into a &str
Errors
If we can’t read the config, or it’s not parsable into a i64
Errors
If the config fails to write
Errors
If the config fails to write