MCPcopy
hub / github.com/dataelement/Clawith / write_text

Method write_text

backend/app/services/storage_runtime/base.py:74–75  ·  view source on GitHub ↗
(self, key: str, content: str, encoding: str = "utf-8")

Source from the content-addressed store, hash-verified

72 raise NotImplementedError
73
74 async def write_text(self, key: str, content: str, encoding: str = "utf-8") -> None:
75 await self.write_bytes(key, content.encode(encoding), content_type="text/plain; charset=utf-8")
76
77 async def delete(self, key: str) -> None:
78 raise NotImplementedError

Callers 15

seedFunction · 0.80
_append_seed_markerFunction · 0.80
seed_default_agentsFunction · 0.80
save_extracted_textFunction · 0.80
start_containerMethod · 0.80
_sync_tasks_to_fileFunction · 0.80
_write_fileFunction · 0.80
_edit_fileFunction · 0.80
_send_file_to_agentFunction · 0.80

Calls 1

write_bytesMethod · 0.95