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

Function reftable_buf_detach

reftable/basics.c:143–148  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

141}
142
143char *reftable_buf_detach(struct reftable_buf *buf)
144{
145 char *result = buf->buf;
146 reftable_buf_init(buf);
147 return result;
148}
149
150size_t binsearch(size_t sz, int (*f)(size_t k, void *args), void *args)
151{

Callers 3

reftable_new_stackFunction · 0.85
reftable_addition_addFunction · 0.85

Calls 1

reftable_buf_initFunction · 0.85

Tested by

no test coverage detected