()
| 10 | use std::sync::OnceLock; |
| 11 | |
| 12 | pub fn fileql_std_functions() -> &'static HashMap<&'static str, StandardFunction> { |
| 13 | static HASHMAP: OnceLock<HashMap<&'static str, StandardFunction>> = OnceLock::new(); |
| 14 | HASHMAP.get_or_init(|| { |
| 15 | let mut map: HashMap<&'static str, StandardFunction> = standard_functions().to_owned(); |
| 16 | map.insert("files_count", files_count); |
| 17 | map |
| 18 | }) |
| 19 | } |
| 20 | |
| 21 | pub fn fileql_std_signatures() -> HashMap<&'static str, Signature> { |
| 22 | let mut map: HashMap<&'static str, Signature> = standard_function_signatures().to_owned(); |
no outgoing calls
no test coverage detected