MCPcopy Create free account
hub / github.com/Aslemammad/venode / resolveId

Function resolveId

venode/src/cli.ts:42–48  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

40 enforce: "pre",
41 name: "venode:vendor:resolve",
42 resolveId(id) {
43 if (!importMap) return null;
44 if (vendor.imports[id]) {
45 return path.join(vendorDir, vendor.imports[id]);
46 }
47 return null;
48 },
49 },
50 {
51 enforce: "pre",

Callers

nothing calls this directly

Calls 7

urlToFilenameWithoutHashFunction · 0.90
moduleToVendorPathFunction · 0.90
urlToFilenameFunction · 0.90
resolveExtensionFunction · 0.90
isValidExtensionFunction · 0.90
filenameWithExtensionFunction · 0.90
copyVendorFunction · 0.85

Tested by

no test coverage detected