MCPcopy Create free account
hub / github.com/bearlyai/OpenADE / readDocumentBase64

Function readDocumentBase64

projects/openade-module/src/nodeYjsStorage.ts:222–225  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

220 })
221 },
222 async readDocumentBase64(id) {
223 const data = await readUpdate(id)
224 return data ? { id, data: Buffer.from(data).toString("base64") } : null
225 },
226 async readMapObject(documentId, mapName) {
227 const doc = await loadDoc(documentId)
228 if (!doc) return null

Callers

nothing calls this directly

Calls 1

readUpdateFunction · 0.85

Tested by

no test coverage detected