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

Method read_text

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

Source from the content-addressed store, hash-verified

65 raise NotImplementedError
66
67 async def read_text(self, key: str, encoding: str = "utf-8", errors: str = "replace") -> str:
68 raw = await self.read_bytes(key)
69 return raw.decode(encoding, errors=errors)
70
71 async def write_bytes(self, key: str, data: bytes, content_type: str | None = None) -> None:
72 raise NotImplementedError

Callers 15

_running_in_containerFunction · 0.80
_read_versionFunction · 0.80
_read_seed_markerFunction · 0.80
_load_fileFunction · 0.80
_read_file_safeFunction · 0.80
_load_skills_indexFunction · 0.80
_load_folder_templatesFunction · 0.80
_execute_heartbeatFunction · 0.80
seed_skillsFunction · 0.80
write_workspace_fileFunction · 0.80
delete_workspace_fileFunction · 0.80

Calls 1

read_bytesMethod · 0.95