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

Function fopen_or_warn

wrapper.c:411–420  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

409}
410
411FILE *fopen_or_warn(const char *path, const char *mode)
412{
413 FILE *fp = fopen(path, mode);
414
415 if (fp)
416 return fp;
417
418 warn_on_fopen_errors(path);
419 return NULL;
420}
421
422int xmkstemp(char *filename_template)
423{

Callers 15

add_mailname_hostFunction · 0.85
flush_rewritten_pendingFunction · 0.85
record_in_rewrittenFunction · 0.85
todo_list_write_total_nrFunction · 0.85
read_remotes_fileFunction · 0.85
read_branches_fileFunction · 0.85
read_line_from_git_pathFunction · 0.85
read_rrFunction · 0.85
read_graft_fileFunction · 0.85
update_info_fileFunction · 0.85
read_pack_info_fileFunction · 0.85

Calls 1

warn_on_fopen_errorsFunction · 0.85

Tested by

no test coverage detected