MCPcopy Create free account
hub / github.com/angular/angular / importPath

Function importPath

packages/compiler-cli/src/ngtsc/cycles/test/util.ts:69–72  ·  view source on GitHub ↗
(files: ts.SourceFile[])

Source from the content-addressed store, hash-verified

67}
68
69export function importPath(files: ts.SourceFile[]): string {
70 const fs = getFileSystem();
71 return files.map((sf) => fs.basename(sf.fileName).replace('.ts', '')).join(',');
72}

Callers 2

imports_spec.tsFile · 0.90
analyzer_spec.tsFile · 0.90

Calls 5

getFileSystemFunction · 0.90
mapMethod · 0.80
joinMethod · 0.65
basenameMethod · 0.65
replaceMethod · 0.45

Tested by

no test coverage detected