MCPcopy Create free account
hub / github.com/play-co/devkit / updateCache

Function updateCache

src/install/index.js:148–152  ·  view source on GitHub ↗
(name, url, version)

Source from the content-addressed store, hash-verified

146};
147
148function updateCache(name, url, version) {
149 return cache.has(name)
150 ? cache.add(name, version)
151 : cache.add(url, version);
152}
153
154/**
155 * Lookup URL for module by name then defer to installModuleFromURL

Callers 1

installModuleFromURLFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…