| 2324 | } |
| 2325 | |
| 2326 | AP_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 | |
| 2336 | AP_DECLARE(int) ap_is_rdirectory(apr_pool_t *p, const char *path) |
| 2337 | { |
no outgoing calls
no test coverage detected