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

Method purge_store

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

Source from the content-addressed store, hash-verified

232 # --------- access local store ---------
233
234 def purge_store(self):
235 log.debug("purge store dir: %s" % self._store_dir)
236 assert len(self._store_dir) > 1
237 if os.path.exists(self._store_dir):
238 shutil.rmtree(self._store_dir, ignore_errors=False)
239 os.makedirs(self._store_dir)
240
241 def clear_store(self):
242 log.debug("clear store dir: %s" % self._store_dir)

Callers 4

_class_scopeMethod · 0.80
test_md_300_031Method · 0.80
_method_scopeMethod · 0.80
_method_scopeMethod · 0.80

Calls

no outgoing calls

Tested by 4

_class_scopeMethod · 0.64
test_md_300_031Method · 0.64
_method_scopeMethod · 0.64
_method_scopeMethod · 0.64