Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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
297
static void image_clear(struct image *image)
298
{
299
strbuf_release(&image->buf);
300
free(image->line);
301
image_init(image);
302
}
303
304
static uint32_t hash_line(const char *cp, size_t len)
305
{
Callers
9
image_prepare
Function · 0.85
update_pre_post_images
Function · 0.85
apply_one_fragment
Function · 0.85
apply_binary_fragment
Function · 0.85
apply_binary
Function · 0.85
resolve_to
Function · 0.85
three_way_merge
Function · 0.85
try_threeway
Function · 0.85
apply_data
Function · 0.85
Calls
2
strbuf_release
Function · 0.85
image_init
Function · 0.85
Tested by
no test coverage detected