MCPcopy Create free account
hub / github.com/git/git / git_hash_alloc

Function git_hash_alloc

hash.c:251–254  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

249}
250
251struct git_hash_ctx *git_hash_alloc(void)
252{
253 return xmalloc(sizeof(struct git_hash_ctx));
254}
255
256void git_hash_free(struct git_hash_ctx *ctx)
257{

Callers 2

newMethod · 0.85
cloneMethod · 0.85

Calls 1

xmallocFunction · 0.70

Tested by

no test coverage detected