MCPcopy Index your code
hub / github.com/angular/angular / getPath

Method getPath

packages/compiler-cli/src/ngtsc/cycles/src/analyzer.ts:150–152  ·  view source on GitHub ↗

* Compute an array of source-files that illustrates the cyclic path between `from` and `to`. * * Note that a `Cycle` will not be created unless a path is available between `to` and `from`, * so `findPath()` will never return `null`.

()

Source from the content-addressed store, hash-verified

148 * so `findPath()` will never return `null`.
149 */
150 getPath(): ts.SourceFile[] {
151 return [this.from, ...this.importGraph.findPath(this.to, this.from)!];
152 }
153}
154
155/**

Callers 2

analyzer_spec.tsFile · 0.80
makeCyclicImportInfoFunction · 0.80

Calls 1

findPathMethod · 0.80

Tested by

no test coverage detected