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], previousVersions: Option[VersionState]): Obj

Builds an invalidation tree by splicing together the task-invalidation-graph, method-codesig-invalidation-graph, and any mill-version-change graph

Builds an invalidation tree by splicing together the task-invalidation-graph, method-codesig-invalidation-graph, and any mill-version-change graph

Attributes

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

Attributes

Source
InvalidationForest.scala
def combineEdges(maps: Map[String, Seq[String]]*): Map[String, Seq[String]]

Attributes

Source
InvalidationForest.scala
def computeVersionChangeNode(previousVersions: Option[VersionState]): Option[String]

Computes a version change node from previous versions. Returns a formatted string like "mill-version-changed:0.12.0->0.12.1" for display, or combines both if mill and JVM versions changed.

Computes a version change node from previous versions. Returns a formatted string like "mill-version-changed:0.12.0->0.12.1" for display, or combines both if mill and JVM versions changed.

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