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

Method with_standard_functions

crates/gitql-core/src/environment.rs:69–76  ·  view source on GitHub ↗

Register standard functions signatures and references

(
        &mut self,
        signatures: &HashMap<&'static str, Signature>,
        functions: &HashMap<&'static str, StandardFunction>,
    )

Source from the content-addressed store, hash-verified

67
68 /// Register standard functions signatures and references
69 pub fn with_standard_functions(
70 &mut self,
71 signatures: &HashMap<&'static str, Signature>,
72 functions: &HashMap<&'static str, StandardFunction>,
73 ) {
74 self.std_signatures.extend(signatures.to_owned());
75 self.std_functions.extend(functions.to_owned());
76 }
77
78 /// Register aggregation functions signatures and references
79 pub fn with_aggregation_functions(

Callers 1

create_gitql_environmentFunction · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected