PlanImpl

mill.exec.PlanImpl
object PlanImpl

Attributes

Source
PlanImpl.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
PlanImpl.type

Members list

Value members

Concrete methods

def groupAroundImportantTasks[T](topoSortedTasks: TopoSorted)(important: PartialFunction[Task[_], T]): MultiBiMap[T, Task[_]]

The values Agg is guaranteed to be topological sorted and cycle free. That's why the constructor is package private.

The values Agg is guaranteed to be topological sorted and cycle free. That's why the constructor is package private.

Attributes

See also
Source
PlanImpl.scala
def plan(goals: Seq[Task[_]]): Plan

Attributes

Source
PlanImpl.scala
def topoSorted(transitiveTasks: IndexedSeq[Task[_]]): TopoSorted

Takes the given tasks, finds all the targets they transitively depend on, and sort them topologically. Fails if there are dependency cycles

Takes the given tasks, finds all the targets they transitively depend on, and sort them topologically. Fails if there are dependency cycles

Attributes

Source
PlanImpl.scala
def transitiveNamed(sourceTasks: Seq[Task[_]]): Seq[Named[_]]

Attributes

Source
PlanImpl.scala
def transitiveNodes[T](sourceNodes: Seq[T])(inputsFor: T => Seq[T]): IndexedSeq[T]

Collects all transitive dependencies (nodes) of the given nodes, including the given nodes.

Collects all transitive dependencies (nodes) of the given nodes, including the given nodes.

Attributes

Source
PlanImpl.scala
def transitiveTasks(sourceTasks: Seq[Task[_]]): IndexedSeq[Task[_]]

Collects all transitive dependencies (tasks) of the given tasks, including the given tasks.

Collects all transitive dependencies (tasks) of the given tasks, including the given tasks.

Attributes

Source
PlanImpl.scala