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

Function tmpfile_delete

reftable/system.c:41–49  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

39}
40
41int tmpfile_delete(struct reftable_tmpfile *t)
42{
43 struct tempfile *tempfile = t->priv;
44 int ret = delete_tempfile(&tempfile);
45 *t = REFTABLE_TMPFILE_INIT;
46 if (ret < 0)
47 return REFTABLE_IO_ERROR;
48 return 0;
49}
50
51int tmpfile_rename(struct reftable_tmpfile *t, const char *path)
52{

Callers 3

reftable_addition_addFunction · 0.85
stack_compact_lockedFunction · 0.85
stack_compact_rangeFunction · 0.85

Calls 1

delete_tempfileFunction · 0.85

Tested by

no test coverage detected