MCPcopy Index your code
hub / github.com/ronreiter/interactive-tutorials / clear

Method clear

suds/cache.py:258–264  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

256 os.remove(fn)
257
258 def clear(self):
259 for fn in os.listdir(self.location):
260 if os.path.isdir(fn):
261 continue
262 if fn.startswith(self.fnprefix):
263 log.debug('deleted: %s', fn)
264 os.remove(os.path.join(self.location, fn))
265
266 def purge(self, id):
267 fn = self.__fn(id)

Callers 1

checkversionMethod · 0.95

Calls 1

removeMethod · 0.80

Tested by

no test coverage detected