MCPcopy Create free account
hub / github.com/arktypeio/arktype / storedNameOf

Function storedNameOf

ark/aot/unplugin.ts:3335–3336  ·  view source on GitHub ↗
(id: string)

Source from the content-addressed store, hash-verified

3333
3334// a module is named for what it holds, so one an earlier build stored holds the same
3335const storedNameOf = (id: string) =>
3336 `${encodeURIComponent(id.slice("\0~arktype/".length))}.json`
3337
3338const internalSpecifiers = [
3339 "arktype/internal",

Callers 2

loadModuleFunction · 0.85
transformFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected