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

Function check_group_dir

modules/md/mod_md.c:264–275  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

262}
263
264static apr_status_t check_group_dir(md_store_t *store, md_store_group_t group,
265 apr_pool_t *p, server_rec *s)
266{
267 const char *dir;
268 apr_status_t rv;
269
270 if (APR_SUCCESS == (rv = md_store_get_fname(&dir, store, group, NULL, NULL, p))
271 && APR_SUCCESS == (rv = apr_dir_make_recursive(dir, MD_FPROT_D_UALL_GREAD, p))) {
272 rv = store_file_ev(s, store, MD_S_FS_EV_CREATED, group, dir, APR_DIR, p);
273 }
274 return rv;
275}
276
277static apr_status_t setup_store(md_store_t **pstore, md_mod_conf_t *mc,
278 apr_pool_t *p, server_rec *s)

Callers 1

setup_storeFunction · 0.85

Calls 2

md_store_get_fnameFunction · 0.85
store_file_evFunction · 0.85

Tested by

no test coverage detected