aboutsummaryrefslogtreecommitdiffstats
path: root/commit-graph.h
diff options
context:
space:
mode:
authorbrian m. carlson <sandals@crustytoothpaste.net>2025-10-27 00:43:59 +0000
committerJunio C Hamano <gitster@pobox.com>2025-10-29 07:35:01 -0700
commit84af9d2ece397dd5414340aaf354ad6f7f0c67d4 (patch)
treeaf18bc62782cf2eb4ce88b7a301439092eb5b2ed /commit-graph.h
parentwrite-or-die: add an fsync component for the loose object map (diff)
downloadgit-84af9d2ece397dd5414340aaf354ad6f7f0c67d4.tar.gz
git-84af9d2ece397dd5414340aaf354ad6f7f0c67d4.zip
hash: expose hash context functions to Rust
We'd like to be able to hash our data in Rust using the same contexts as in C. However, we need our helper functions to not be inline so they can be linked into the binary appropriately. In addition, to avoid managing memory manually and since we don't know the size of the hash context structure, we want to have simple alloc and free functions we can use to make sure a context can be easily dynamically created. Expose the helper functions and create alloc, free, and init functions we can call. Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net> Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'commit-graph.h')
0 files changed, 0 insertions, 0 deletions