flip
Flips a map. In the context of ComputeAffectedProjectsTask
, we use this to flip a map of projects to their dependencies to a map of projects to the projects that depend on them. We use this to find all affected projects given a seed of changed projects.
Example:
Given a map
{a:[b, c], b:[d], c:[d], d:[]}
return
{b:[a], c:[a], d:[b, c]}
Content copied to clipboard