MCPcopy Create free account
hub / github.com/Ishabdullah/Codey-v2 / remove

Method remove

core/memory_v2.py:127–130  ·  view source on GitHub ↗

Remove a file from working memory.

(self, file_path: str)

Source from the content-addressed store, hash-verified

125 item.access_count += 1
126
127 def remove(self, file_path: str):
128 """Remove a file from working memory."""
129 if file_path in self._files:
130 del self._files[file_path]
131
132 def clear(self):
133 """Clear all working memory (after task completes)."""

Callers 4

unload_fileMethod · 0.80
tearDownMethod · 0.80
tearDownMethod · 0.80
test_remove_fileMethod · 0.80

Calls

no outgoing calls

Tested by 3

tearDownMethod · 0.64
tearDownMethod · 0.64
test_remove_fileMethod · 0.64