MCPcopy Create free account
hub / github.com/apache/httpd / ap_is_directory

Function ap_is_directory

server/util.c:2326–2334  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

2324}
2325
2326AP_DECLARE(int) ap_is_directory(apr_pool_t *p, const char *path)
2327{
2328 apr_finfo_t finfo;
2329
2330 if (apr_stat(&finfo, path, APR_FINFO_TYPE, p) != APR_SUCCESS)
2331 return 0; /* in error condition, just return no */
2332
2333 return (finfo.filetype == APR_DIR);
2334}
2335
2336AP_DECLARE(int) ap_is_rdirectory(apr_pool_t *p, const char *path)
2337{

Callers 6

unixd_set_chroot_dirFunction · 0.85
set_document_rootFunction · 0.85
set_server_rootFunction · 0.85
set_runtime_dirFunction · 0.85
ap_dir_nofnmatchFunction · 0.85
ap_set_mutexFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected