Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/git/git
/ git_hash_update
Function
git_hash_update
hash.c:271–274 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
269
}
270
271
void git_hash_update(struct git_hash_ctx *ctx, const void *in, size_t len)
272
{
273
ctx->algop->update_fn(ctx, in, len);
274
}
275
276
void git_hash_final(unsigned char *hash, struct git_hash_ctx *ctx)
277
{
Callers
15
verify_packfile
Function · 0.85
stream_object_signature
Function · 0.85
hash_object_body
Function · 0.85
start_loose_object_common
Function · 0.85
write_loose_object_common
Function · 0.85
hash_blob_stream
Function · 0.85
stream_blob_to_pack
Function · 0.85
odb_transaction_files_write_object_stream
Function · 0.85
check_stream_oid
Function · 0.85
fwrite_sha1_file
Function · 0.85
handle_new_lock_ctx
Function · 0.85
hashflush
Function · 0.85
Calls
no outgoing calls
Tested by
2
compute_hash
Function · 0.68
cmd_hash_impl
Function · 0.68