(map: &mut HashMap<&'static str, Signature>)
| 13 | |
| 14 | #[inline(always)] |
| 15 | pub(crate) fn register_commits_function_signatures(map: &mut HashMap<&'static str, Signature>) { |
| 16 | map.insert( |
| 17 | "commit_conventional", |
| 18 | Signature::with_return(Box::new(TextType)).add_parameter(Box::new(TextType)), |
| 19 | ); |
| 20 | } |
| 21 | |
| 22 | fn commit_conventional(values: &[Box<dyn Value>]) -> Box<dyn Value> { |
| 23 | let text = values[0].as_text().unwrap(); |
no test coverage detected
searching dependent graphs…