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

Function remove_nms_dir

modules/md/md_store_fs.c:909–926  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

907}
908
909static apr_status_t remove_nms_dir(void *baton, apr_pool_t *p, apr_pool_t *ptemp,
910 const char *dir, const char *name, apr_filetype_e ftype)
911{
912 inspect_ctx *ctx = baton;
913 apr_status_t rv;
914 const char *fpath;
915
916 (void)ftype;
917 md_log_perror(MD_LOG_MARK, MD_LOG_TRACE3, 0, ptemp, "remove_nms dir at: %s/%s", dir, name);
918 if (MD_OK(md_util_path_merge(&fpath, p, dir, name, NULL))) {
919 ctx->dirname = name;
920 rv = md_util_files_do(remove_nms_file, ctx, p, fpath, ctx->aspect, NULL);
921 if (APR_STATUS_IS_ENOENT(rv)) {
922 rv = APR_SUCCESS;
923 }
924 }
925 return rv;
926}
927
928static apr_status_t fs_remove_nms(md_store_t *store, apr_pool_t *p,
929 apr_time_t modified, md_store_group_t group,

Callers

nothing calls this directly

Calls 3

md_log_perrorFunction · 0.85
md_util_path_mergeFunction · 0.85
md_util_files_doFunction · 0.85

Tested by

no test coverage detected