MCPcopy Create free account
hub / github.com/webpy/webpy / __delitem__

Method __delitem__

web/session.py:297–300  ·  view source on GitHub ↗
(self, key)

Source from the content-addressed store, hash-verified

295 pass
296
297 def __delitem__(self, key):
298 path = self._get_path(key)
299 if os.path.exists(path):
300 os.remove(path)
301
302 def cleanup(self, timeout):
303 if not os.path.isdir(self.root):

Callers

nothing calls this directly

Calls 1

_get_pathMethod · 0.95

Tested by

no test coverage detected