MCPcopy Index your code
hub / github.com/web-infra-dev/garfish / getModuleManager

Function getModuleManager

packages/remote-module/src/common.ts:82–87  ·  view source on GitHub ↗
(url: string)

Source from the content-addressed store, hash-verified

80})();
81
82export const getModuleManager = (url: string) => {
83 if (url) {
84 // Do not use redirected url
85 return resourcesStore.find((manager) => manager.originUrl === url);
86 }
87};
88
89export const purifyOptions = (urlOrAlias: string, options?: ModuleConfig) => {
90 let config;

Callers 1

loadModuleSyncFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected