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

Function deactivate_tempfile

tempfile.c:128–134  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

126}
127
128static void deactivate_tempfile(struct tempfile *tempfile)
129{
130 volatile_list_del(&tempfile->list);
131 strbuf_release(&tempfile->filename);
132 free(tempfile->directory);
133 free(tempfile);
134}
135
136/* Make sure errno contains a meaningful value on error */
137struct tempfile *create_tempfile_mode(const char *path, int mode)

Callers 5

create_tempfile_modeFunction · 0.85
mks_tempfile_smFunction · 0.85
mks_tempfile_tsmFunction · 0.85
rename_tempfileFunction · 0.85
delete_tempfileFunction · 0.85

Calls 2

volatile_list_delFunction · 0.85
strbuf_releaseFunction · 0.85

Tested by

no test coverage detected