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

Function image_clear

apply.c:297–302  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

295}
296
297static void image_clear(struct image *image)
298{
299 strbuf_release(&image->buf);
300 free(image->line);
301 image_init(image);
302}
303
304static uint32_t hash_line(const char *cp, size_t len)
305{

Callers 9

image_prepareFunction · 0.85
update_pre_post_imagesFunction · 0.85
apply_one_fragmentFunction · 0.85
apply_binary_fragmentFunction · 0.85
apply_binaryFunction · 0.85
resolve_toFunction · 0.85
three_way_mergeFunction · 0.85
try_threewayFunction · 0.85
apply_dataFunction · 0.85

Calls 2

strbuf_releaseFunction · 0.85
image_initFunction · 0.85

Tested by

no test coverage detected