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

Method touch_file

core/memory_v2.py:483–486  ·  view source on GitHub ↗

Mark a file as recently used (prevents LRU eviction).

(self, path: str)

Source from the content-addressed store, hash-verified

481 self.working.remove(key)
482
483 def touch_file(self, path: str):
484 """Mark a file as recently used (prevents LRU eviction)."""
485 key = str(Path(path).expanduser().resolve())
486 self.working.touch(key)
487
488 def list_files(self) -> List[str]:
489 """Return list of fully-resolved paths currently in working memory."""

Callers 2

auto_load_from_promptFunction · 0.80
run_agentFunction · 0.80

Calls 1

touchMethod · 0.80

Tested by

no test coverage detected