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

Function md_util_is_dir

modules/md/md_util.c:381–389  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

379}
380
381apr_status_t md_util_is_dir(const char *path, apr_pool_t *pool)
382{
383 apr_finfo_t info;
384 apr_status_t rv = apr_stat(&info, path, APR_FINFO_TYPE, pool);
385 if (rv == APR_SUCCESS) {
386 rv = (info.filetype == APR_DIR)? APR_SUCCESS : APR_EINVAL;
387 }
388 return rv;
389}
390
391apr_status_t md_util_is_file(const char *path, apr_pool_t *pool)
392{

Callers 3

md_store_fs_initFunction · 0.85
mk_group_dirFunction · 0.85
pfs_moveFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected