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

Method clear_ocsp_store

test/modules/md/md_env.py:249–254  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

247 shutil.rmtree(os.path.join(self._store_dir, dirpath), ignore_errors=True)
248
249 def clear_ocsp_store(self):
250 assert len(self._store_dir) > 1
251 dirpath = os.path.join(self._store_dir, "ocsp")
252 log.debug("clear ocsp store dir: %s" % dir)
253 if os.path.exists(dirpath):
254 shutil.rmtree(dirpath, ignore_errors=True)
255
256 def authz_save(self, name, content):
257 dirpath = os.path.join(self._store_dir, 'staging', name)

Callers 1

test_md_801_010Method · 0.80

Calls 1

joinMethod · 0.80

Tested by 1

test_md_801_010Method · 0.64