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

Function md_util_is_file

modules/md/md_util.c:391–399  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

389}
390
391apr_status_t md_util_is_file(const char *path, apr_pool_t *pool)
392{
393 apr_finfo_t info;
394 apr_status_t rv = apr_stat(&info, path, APR_FINFO_TYPE, pool);
395 if (rv == APR_SUCCESS) {
396 rv = (info.filetype == APR_REG)? APR_SUCCESS : APR_EINVAL;
397 }
398 return rv;
399}
400
401apr_status_t md_util_is_unix_socket(const char *path, apr_pool_t *pool)
402{

Callers 3

setup_store_fileFunction · 0.85
fs_floadFunction · 0.85
md_file_existsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected