MCPcopy Index your code
hub / github.com/git/git / block_source_release_data

Function block_source_release_data

reftable/blocksource.c:16–25  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

14#include "reftable-error.h"
15
16void block_source_release_data(struct reftable_block_data *data)
17{
18 struct reftable_block_source source = data->source;
19 if (data && source.ops)
20 source.ops->release_data(source.arg, data);
21 data->data = NULL;
22 data->len = 0;
23 data->source.ops = NULL;
24 data->source.arg = NULL;
25}
26
27void block_source_close(struct reftable_block_source *source)
28{

Callers 7

read_blockFunction · 0.85
reftable_block_initFunction · 0.85
reftable_block_releaseFunction · 0.85
reftable_table_newFunction · 0.85

Calls

no outgoing calls

Tested by 1