Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/anomalyco/models.dev
/ encodedPath
Function
encodedPath
packages/web/src/render.tsx:1646–1648 ·
view source on GitHub ↗
(id: string)
Source
from the content-addressed store, hash-verified
1644
}
1645
1646
function encodedPath(id: string) {
1647
return id.split(
"/"
).map(encodeURIComponent).join(
"/"
);
1648
}
1649
1650
function modelHref(id: string) {
1651
return `/models/${encodedPath(id)}`;
Callers
1
modelHref
Function · 0.85
Calls
no outgoing calls
Tested by
no test coverage detected