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

Function remove_tempfile

diff.c:1809–1817  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1807}
1808
1809static void remove_tempfile(void)
1810{
1811 int i;
1812 for (i = 0; i < ARRAY_SIZE(diff_temp); i++) {
1813 if (is_tempfile_active(diff_temp[i].tempfile))
1814 delete_tempfile(&diff_temp[i].tempfile);
1815 diff_temp[i].name = NULL;
1816 }
1817}
1818
1819static void add_line_count(struct strbuf *out, int count)
1820{

Callers 2

run_external_diffFunction · 0.85
run_textconvFunction · 0.85

Calls 2

is_tempfile_activeFunction · 0.85
delete_tempfileFunction · 0.85

Tested by

no test coverage detected