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

Function access_or_die

wrapper.c:650–656  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

648}
649
650int access_or_die(const char *path, int mode, unsigned flag)
651{
652 int ret = access(path, mode);
653 if (ret && !access_error_is_ok(errno, flag))
654 die_errno(_("unable to access '%s'"), path);
655 return ret;
656}
657
658char *xgetcwd(void)
659{

Callers 2

handle_path_includeFunction · 0.85
do_git_config_sequenceFunction · 0.85

Calls 2

access_error_is_okFunction · 0.85
die_errnoFunction · 0.85

Tested by

no test coverage detected