MCPcopy 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
1646function encodedPath(id: string) {
1647 return id.split("/").map(encodeURIComponent).join("/");
1648}
1649
1650function modelHref(id: string) {
1651 return `/models/${encodedPath(id)}`;

Callers 1

modelHrefFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected