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

Function mapping

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

Source from the content-addressed store, hash-verified

2349 }
2350
2351 const mapping = (localName: string, source: string): ImportMapping =>
2352 ({ localName, exportedName: '*', source, isDefault: false, isNamespace: true });
2353 // Go binds a name to one import of a file, so a name another import is
2354 // given explicitly is not an unaliased import's: etcd's benchmark tool has
2355 // `"github.com/cheggaaa/pb/v3"` (package pb) beside

Callers 1

extractGoImportsFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected