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

Function register_diffs_functions

src/gitql/functions/diffs.rs:21–45  ·  view source on GitHub ↗
(map: &mut HashMap<&'static str, StandardFunction>)

Source from the content-addressed store, hash-verified

19
20#[inline(always)]
21pub(crate) fn register_diffs_functions(map: &mut HashMap<&'static str, StandardFunction>) {
22 map.insert("diff_content", diff_changes_full_content);
23 map.insert("diff_added_content", diff_changes_added_content);
24 map.insert("diff_deleted_content", diff_changes_deleted_content);
25 map.insert("diff_modified_content", diff_changes_modified_content);
26
27 map.insert("diff_content_contains", diff_changes_full_content_contains);
28 map.insert(
29 "diff_added_content_contains",
30 diff_changes_added_content_contains,
31 );
32 map.insert(
33 "diff_deleted_content_contains",
34 diff_changes_deleted_content_contains,
35 );
36 map.insert(
37 "diff_modified_content_contains",
38 diff_changes_modified_content_contains,
39 );
40
41 map.insert("diff_changed_files", diff_changed_files);
42 map.insert("diff_files_count", diff_changes_files_count);
43
44 map.insert("is_diff_has_file", diff_changes_contains_file);
45}
46
47#[inline(always)]
48pub(crate) fn register_diffs_function_signatures(map: &mut HashMap<&'static str, Signature>) {

Callers 1

gitql_std_functionsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…