MCPcopy
hub / github.com/tldraw/tldraw / loadAsset

Function loadAsset

templates/socketio-server-example/src/server/assets.ts:13–15  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

11}
12
13export async function loadAsset(id: string) {
14 return await readFile(join(DIR, id))
15}

Callers 1

server.tsFile · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…