MCPcopy Create free account
hub / github.com/agentforce314/clawcodex / delete

Method delete

src/services/session_storage.py:325–328  ·  view source on GitHub ↗

Delete this session's directory.

(self)

Source from the content-addressed store, hash-verified

323 return deleted
324
325 def delete(self) -> None:
326 """Delete this session's directory."""
327 if self._session_dir.exists():
328 shutil.rmtree(self._session_dir, ignore_errors=True)
329
330
331def _atomic_write(path: Path, content: str) -> None:

Callers 15

test_delete_sessionMethod · 0.95
sliceAnsiFunction · 0.80
lineWidthFunction · 0.80
stringWidthFunction · 0.80
renderNodeToOutputFunction · 0.80
dropSubtreeCacheFunction · 0.80
renderSyncFunction · 0.80
memoizedWrapFunction · 0.80
dispatchHoverFunction · 0.80
unmountMethod · 0.80
collectRemovedRectsFunction · 0.80

Calls

no outgoing calls

Tested by 1

test_delete_sessionMethod · 0.76