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

Function md_json_freplace

modules/md/md_json.c:1058–1066  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1056}
1057
1058apr_status_t md_json_freplace(const md_json_t *json, apr_pool_t *p, md_json_fmt_t fmt,
1059 const char *fpath, apr_fileperms_t perms)
1060{
1061 j_write_ctx ctx;
1062 ctx.json = json;
1063 ctx.fmt = fmt;
1064 ctx.fname = fpath;
1065 return md_util_freplace(fpath, perms, p, write_json, &ctx);
1066}
1067
1068apr_status_t md_json_readd(md_json_t **pjson, apr_pool_t *pool, const char *data, size_t data_len)
1069{

Callers 2

read_store_fileFunction · 0.85
pfs_saveFunction · 0.85

Calls 1

md_util_freplaceFunction · 0.85

Tested by

no test coverage detected