MCPcopy Create free account
hub / github.com/anomalyco/models.dev / existing

Function existing

packages/core/src/sync/index.ts:144–146  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

142 for (const sourceModel of sourceModels) {
143 const translated = provider.translateModel(sourceModel, {
144 existing(id) {
145 return existing.get(`${id}.toml`)?.toml;
146 },
147 authored(id) {
148 return existing.get(`${id}.toml`)?.authored;
149 },

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected