MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / mapping

Function mapping

src/resolution/import-resolver.ts:2438–2439  ·  view source on GitHub ↗
(localName: string, source: string)

Source from the content-addressed store, hash-verified

2436 }
2437
2438 const mapping = (localName: string, source: string): ImportMapping =>
2439 ({ localName, exportedName: '*', source, isDefault: false, isNamespace: true });
2440 // Go binds a name to one import of a file, so a name another import is
2441 // given explicitly is not an unaliased import's: etcd's benchmark tool has
2442 // `"github.com/cheggaaa/pb/v3"` (package pb) beside

Callers 1

extractGoImportsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected