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

Function gitql_std_functions

src/gitql/functions/mod.rs:16–24  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

14mod diffs;
15
16pub fn gitql_std_functions() -> &'static HashMap<&'static str, StandardFunction> {
17 static HASHMAP: OnceLock<HashMap<&'static str, StandardFunction>> = OnceLock::new();
18 HASHMAP.get_or_init(|| {
19 let mut map = standard_functions().to_owned();
20 register_commits_functions(&mut map);
21 register_diffs_functions(&mut map);
22 map
23 })
24}
25
26pub fn gitql_std_signatures() -> HashMap<&'static str, Signature> {
27 let mut map = standard_function_signatures().to_owned();

Callers 1

create_gitql_environmentFunction · 0.85

Calls 3

standard_functionsFunction · 0.85
register_diffs_functionsFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…