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

Function free_filespec

diff.c:4365–4371  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

4363}
4364
4365void free_filespec(struct diff_filespec *spec)
4366{
4367 if (!--spec->count) {
4368 diff_free_filespec_data(spec);
4369 free(spec);
4370 }
4371}
4372
4373void fill_filespec(struct diff_filespec *spec, const struct object_id *oid,
4374 int oid_valid, unsigned short mode)

Callers 8

parse_linesFunction · 0.85
merge_brokenFunction · 0.85
fill_textconv_grepFunction · 0.85
pool_free_filespecFunction · 0.85
grab_blobFunction · 0.85
show_patch_diffFunction · 0.85
diff_free_filepairFunction · 0.85
textconv_objectFunction · 0.85

Calls 1

diff_free_filespec_dataFunction · 0.85

Tested by

no test coverage detected