FileImportGraph

mill.meta.FileImportGraph
See theFileImportGraph companion class

Logic around traversing the import $file graph, extracting necessary info and converting it to a convenient data structure for downstream code to use

Attributes

Companion
class
Source
FileImportGraph.scala
Graph
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type

Members list

Type members

Inherited and Abstract types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror
Source
Mirror.scala
type MirroredLabel <: String

The name of the type

The name of the type

Attributes

Inherited from:
Mirror
Source
Mirror.scala

Value members

Concrete methods

def fileImportToSegments(base: Path, s: Path): Seq[String]

Attributes

Source
FileImportGraph.scala
def findRootBuildFiles(projectRoot: Path): (dummy: Boolean, foundRootBuildFileName: String)

Attributes

Source
FileImportGraph.scala
def parseBuildFiles(topLevelProjectRoot: Path, projectRoot: Path, output: Path, parser: MillScalaParser, walked: Seq[Path]): FileImportGraph

We perform a depth-first traversal of the import graph of .sc files, starting from build.mill, collecting the information necessary to instantiate the MillRootModule

We perform a depth-first traversal of the import graph of .sc files, starting from build.mill, collecting the information necessary to instantiate the MillRootModule

Attributes

Source
FileImportGraph.scala
def walkBuildFiles(projectRoot: Path, output: Path): Seq[Path]

Attributes

Source
FileImportGraph.scala

Implicits

Implicits

implicit val readWriter: ReadWriter[FileImportGraph]

Attributes

Source
FileImportGraph.scala