MCPcopy Create free account
hub / github.com/ScaleML/AgentSPEX / touch

Method touch

src/sandbox_vm/tools/session_management.py:133–134  ·  view source on GitHub ↗
(self)

Source from the content-addressed store, hash-verified

131 (self.root / "tmp").mkdir(parents=True, exist_ok=True)
132
133 def touch(self) -> None:
134 self.last_used = time.time()
135
136 def minimal_env(self) -> Dict[str, str]:
137 keep = {"PATH", "LANG", "LC_ALL", "TZ"}

Callers 3

get_or_create_shellMethod · 0.95
touchMethod · 0.45
test_empty_fileMethod · 0.45

Calls

no outgoing calls

Tested by 1

test_empty_fileMethod · 0.36