MCPcopy Create free account
hub / github.com/AmrDeveloper/GQL / register_commits_function_signatures

Function register_commits_function_signatures

src/gitql/functions/commits.rs:15–20  ·  view source on GitHub ↗
(map: &mut HashMap<&'static str, Signature>)

Source from the content-addressed store, hash-verified

13
14#[inline(always)]
15pub(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
22fn commit_conventional(values: &[Box<dyn Value>]) -> Box<dyn Value> {
23 let text = values[0].as_text().unwrap();

Callers 1

gitql_std_signaturesFunction · 0.85

Calls 1

add_parameterMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…