InvalidationForest

mill.internal.InvalidationForest

Builds invalidation trees for displaying task invalidation reasons. Used by mill-invalidation-tree.json and selective.resolveTree.

Attributes

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

Members list

Value members

Concrete methods

def buildInvalidationTree(upstreamTaskEdges0: Map[Task[_], Seq[Task[_]]], rootInvalidatedTasks: Set[Task[_]], codeSignatureTree: Option[String], taskInvalidationReasons: Map[String, String] = ...): Obj

Builds an invalidation tree by splicing together the task-invalidation-graph and method-codesig-invalidation-graph.

Builds an invalidation tree by splicing together the task-invalidation-graph and method-codesig-invalidation-graph.

Value parameters

taskInvalidationReasons

Per-task invalidation reasons (e.g., "mill-version-changed:OLD->NEW"). Tasks with the same reason are grouped under that reason node.

Attributes

Source
InvalidationForest.scala
def buildTaskForest(rootInvalidatedTaskStrings: Seq[String], downstreamTaskEdges0: Map[Task[_], Vector[Task[_]]]): Obj

Attributes

Source
InvalidationForest.scala
def extractMethodEdges(codeSignatureTree: Option[String], transitiveNamed: Seq[Named[_]], rootInvalidatedTasks: Set[Task[_]]): (Value, Map[String, Seq[String]])

Extracts method->method and method->task edges from a code signature tree. Uses CodeSigUtils.allMethodSignatures for consistent matching with codeSigForTask.

Extracts method->method and method->task edges from a code signature tree. Uses CodeSigUtils.allMethodSignatures for consistent matching with codeSigForTask.

Attributes

Source
InvalidationForest.scala
def extractMethodEdges(tree: Obj): (Map[String, Seq[String]], Set[String])

Extracts method -> method edges from a code signature tree. Returns (edges map, all nodes set).

Extracts method -> method edges from a code signature tree. Returns (edges map, all nodes set).

Attributes

Source
InvalidationForest.scala