MCPcopy Create free account
hub / github.com/QodeXcli/QodeX / push

Function push

src/context/import-graph.ts:51–51  ·  view source on GitHub ↗
(s: string | undefined)

Source from the content-addressed store, hash-verified

49export function extractImportSpecifiers(content: string, lang: string): string[] {
50 const specs: string[] = [];
51 const push = (s: string | undefined) => { if (s) specs.push(s); };
52
53 if (lang === 'python') {
54 // from X import ... / import X

Callers 1

extractImportSpecifiersFunction · 0.85

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected