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

Function access_or_warn

wrapper.c:642–648  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

640}
641
642int access_or_warn(const char *path, int mode, unsigned flag)
643{
644 int ret = access(path, mode);
645 if (ret && !access_error_is_ok(errno, flag))
646 warn_on_inaccessible(path);
647 return ret;
648}
649
650int access_or_die(const char *path, int mode, unsigned flag)
651{

Callers 2

git_global_configFunction · 0.85
setup_standard_excludesFunction · 0.85

Calls 2

access_error_is_okFunction · 0.85
warn_on_inaccessibleFunction · 0.85

Tested by

no test coverage detected