| 815 | } |
| 816 | |
| 817 | static apr_status_t insp_dir(void *baton, apr_pool_t *p, apr_pool_t *ptemp, |
| 818 | const char *dir, const char *name, apr_filetype_e ftype) |
| 819 | { |
| 820 | inspect_ctx *ctx = baton; |
| 821 | apr_status_t rv; |
| 822 | const char *fpath; |
| 823 | |
| 824 | (void)ftype; |
| 825 | md_log_perror(MD_LOG_MARK, MD_LOG_TRACE3, 0, ptemp, "inspecting dir at: %s/%s", dir, name); |
| 826 | if (MD_OK(md_util_path_merge(&fpath, p, dir, name, NULL))) { |
| 827 | ctx->dirname = name; |
| 828 | rv = md_util_files_do(insp, ctx, p, fpath, ctx->aspect, NULL); |
| 829 | if (APR_STATUS_IS_ENOENT(rv)) { |
| 830 | rv = APR_SUCCESS; |
| 831 | } |
| 832 | } |
| 833 | return rv; |
| 834 | } |
| 835 | |
| 836 | static apr_status_t fs_iterate(md_store_inspect *inspect, void *baton, md_store_t *store, |
| 837 | apr_pool_t *p, md_store_group_t group, const char *pattern, |
nothing calls this directly
no test coverage detected