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

Function claim_diff_tempfile

diff.c:1800–1807  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1798}
1799
1800static struct diff_tempfile *claim_diff_tempfile(void)
1801{
1802 int i;
1803 for (i = 0; i < ARRAY_SIZE(diff_temp); i++)
1804 if (!diff_temp[i].name)
1805 return diff_temp + i;
1806 BUG("diff is failing to clean up its tempfiles");
1807}
1808
1809static void remove_tempfile(void)
1810{

Callers 1

prepare_temp_fileFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected