MCPcopy Create free account
hub / github.com/btd/rollup-plugin-visualizer / addImportedLink

Method addImportedLink

plugin/module-mapper.ts:156–160  ·  view source on GitHub ↗
(sourceId: string, targetId: string, dynamic = false)

Source from the content-addressed store, hash-verified

154 }
155
156 addImportedLink(sourceId: string, targetId: string, dynamic = false): void {
157 const targetUid = this.getModuleUid(targetId);
158 this.getModuleUid(sourceId);
159 this.nodeMetas[sourceId].meta.imported.add(String([targetUid, dynamic]));
160 }
161}

Callers 1

buildReportFunction · 0.95

Calls 1

getModuleUidMethod · 0.95

Tested by

no test coverage detected