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

Function remove_template_directory

tempfile.c:55–66  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

53static VOLATILE_LIST_HEAD(tempfile_list);
54
55static int remove_template_directory(struct tempfile *tempfile,
56 int in_signal_handler)
57{
58 if (tempfile->directory) {
59 if (in_signal_handler)
60 return rmdir(tempfile->directory);
61 else
62 return rmdir_or_warn(tempfile->directory);
63 }
64
65 return 0;
66}
67
68static void remove_tempfiles(int in_signal_handler)
69{

Callers 2

remove_tempfilesFunction · 0.85
delete_tempfileFunction · 0.85

Calls 1

rmdir_or_warnFunction · 0.85

Tested by

no test coverage detected