MCPcopy Create free account
hub / github.com/NVIDIA/OpenShell / write

Method write

e2e/python/test_sandbox_api.py:19–22  ·  view source on GitHub ↗
(self, path: str, content: str)

Source from the content-addressed store, hash-verified

17) -> None:
18 class _FileOps:
19 def write(self, path: str, content: str) -> None:
20 from pathlib import Path
21
22 Path(path).write_text(content)
23
24 def read(self, path: str) -> str:
25 from pathlib import Path

Callers 12

mainFunction · 0.45
execMethod · 0.45
_write_to_diskMethod · 0.45
do_GETMethod · 0.45
_jsonMethod · 0.45
do_GETMethod · 0.45
do_POSTMethod · 0.45
fnFunction · 0.45
fnFunction · 0.45
logFunction · 0.45
send_jsonMethod · 0.45
runner-shim.mjsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected