MCPcopy Index your code
hub / github.com/tensorflow/tfjs / findReverseDeps

Function findReverseDeps

scripts/graph_utils.ts:145–150  ·  view source on GitHub ↗
(packages: Iterable<string>)

Source from the content-addressed store, hash-verified

143 * their transitive closure of dependencies.
144 */
145export function findReverseDeps(packages: Iterable<string>): Set<string> {
146 return new Set(
147 [...packages]
148 .map(packageName => findSubgraph(packageName, REVERSE_DEPENDENCY_GRAPH))
149 .reduce((a, b) => [...a, ...b], []));
150}

Callers 1

generateCloudbuildFunction · 0.90

Calls 1

findSubgraphFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…