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

Function warn_if_unremovable

wrapper.c:601–610  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

599}
600
601static int warn_if_unremovable(const char *op, const char *file, int rc)
602{
603 int err;
604 if (!rc || errno == ENOENT)
605 return 0;
606 err = errno;
607 warning_errno("unable to %s '%s'", op, file);
608 errno = err;
609 return rc;
610}
611
612int unlink_or_msg(const char *file, struct strbuf *err)
613{

Callers 2

unlink_or_warnFunction · 0.85
rmdir_or_warnFunction · 0.85

Calls 1

warning_errnoFunction · 0.85

Tested by

no test coverage detected