()
| 14 | mod diffs; |
| 15 | |
| 16 | pub 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 | |
| 26 | pub fn gitql_std_signatures() -> HashMap<&'static str, Signature> { |
| 27 | let mut map = standard_function_signatures().to_owned(); |
no test coverage detected
searching dependent graphs…