Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/git/git
/ image_init
Function
image_init
apply.c:291–295 ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
289
}
290
291
static void image_init(struct image *image)
292
{
293
struct image empty = IMAGE_INIT;
294
memcpy(image, &empty, sizeof(*image));
295
}
296
297
static void image_clear(struct image *image)
298
{
Callers
1
image_clear
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected