MCPcopy
hub / github.com/AstrBotDevs/AstrBot / write_bytes

Method write_bytes

tests/unit/test_cua_computer_use.py:93–94  ·  view source on GitHub ↗
(self, path: str, content: bytes)

Source from the content-addressed store, hash-verified

91 self.uploads.append((local_path, remote_path))
92
93 async def write_bytes(self, path: str, content: bytes):
94 self.byte_writes.append((path, content))
95
96 async def write_text(self, path: str, content: str):
97 self.text_writes.append((path, content))

Callers 15

_cleanup_targetMethod · 0.45
_save_inbound_mediaMethod · 0.45
_store_temp_contentMethod · 0.45
get_audioMethod · 0.45
get_audioMethod · 0.45
screenshotMethod · 0.45
download_fileMethod · 0.45
_save_uploadMethod · 0.45
_save_uploadMethod · 0.45

Calls 1

appendMethod · 0.45

Tested by

no test coverage detected