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

Function access_error_is_ok

wrapper.c:636–640  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

634}
635
636static int access_error_is_ok(int err, unsigned flag)
637{
638 return (is_missing_file_error(err) ||
639 ((flag & ACCESS_EACCES_OK) && err == EACCES));
640}
641
642int access_or_warn(const char *path, int mode, unsigned flag)
643{

Callers 2

access_or_warnFunction · 0.85
access_or_dieFunction · 0.85

Calls 1

is_missing_file_errorFunction · 0.85

Tested by

no test coverage detected