Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/tldraw/tldraw
/ loadAsset
Function
loadAsset
templates/simple-server-example/src/server/assets.ts:13–15 ·
view source on GitHub ↗
(id: string)
Source
from the content-addressed store, hash-verified
11
}
12
13
export
async
function
loadAsset(id: string) {
14
return
await
readFile(join(DIR, id))
15
}
Callers
1
server.ts
File · 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…