MCPcopy Create free account
hub / github.com/UsefulSoftwareCo/executor / format

Function format

packages/core/fumadb/src/utils/import-generator.ts:14–23  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

12 map.set(specifier, list);
13 },
14 format(): string {
15 const v: string[] = [];
16 for (const [specifier, names] of map) {
17 if (names.length === 0) continue;
18
19 v.push(`import { ${names.join(", ")} } from "${specifier}"`);
20 }
21
22 return v.join("\n");
23 },
24 };
25}

Callers

nothing calls this directly

Calls 1

pushMethod · 0.80

Tested by

no test coverage detected