Sources

mill.api.Task.Sources
class Sources(evaluate0: (Seq[Any], TaskCtx) => Result[Seq[PathRef]], ctx0: ModuleCtx, isPrivate: Option[Boolean]) extends Input[Seq[PathRef]]

Attributes

Graph
Supertypes
class Input[Seq[PathRef]]
trait Simple[Seq[PathRef]]
trait Named[Seq[PathRef]]
trait NamedTaskApi[Seq[PathRef]]
class Task[Seq[PathRef]]
trait TaskApi[Seq[PathRef]]
trait Applyable[Task, Seq[PathRef]]
class Ops[Seq[PathRef]]
class Object
trait Matchable
class Any
Show all

Members list

Value members

Inherited methods

def apply(): Seq[PathRef]

Attributes

Inherited from:
Applyable
def evaluate(ctx: TaskCtx): Result[Seq[PathRef]]

Evaluate this task

Evaluate this task

Attributes

Inherited from:
Named
def filter(f: Seq[PathRef] => Boolean): Task[Seq[PathRef]]

Attributes

Inherited from:
Ops
def label: String

Attributes

Inherited from:
Named
def map[V](f: Seq[PathRef] => V): Task[V]

Attributes

Inherited from:
Ops
@Scaladoc(value = "/**\n * Whether or not this [[Task]] deletes the `Task.dest` folder between runs\n */")
def persistent: Boolean

Whether or not this Task deletes the Task.dest folder between runs

Whether or not this Task deletes the Task.dest folder between runs

Attributes

Inherited from:
Task
def readWriterOpt: Option[ReadWriter[_]]

Attributes

Inherited from:
Named
override def sideHash: Int

Even if this task's inputs did not change, does it need to re-evaluate anyway?

Even if this task's inputs did not change, does it need to re-evaluate anyway?

Attributes

Definition Classes
Input -> Task
Inherited from:
Input
override def toString: String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Named -> Any
Inherited from:
Named
def withFilter(f: Seq[PathRef] => Boolean): Task[Seq[PathRef]]

Attributes

Inherited from:
Ops
override def writerOpt: Some[Writer[_]]

Attributes

Definition Classes
Inherited from:
Input
def zip[V](other: Task[V]): Task[(Seq[PathRef], V)]

Attributes

Inherited from:
Ops

Inherited fields

val ctx: ModuleCtx

Attributes

Inherited from:
Named
val inputs: Seq[Task[_]]

What other tasks does this task depend on?

What other tasks does this task depend on?

Attributes

Inherited from:
Input
val writer: Writer[_]

Attributes

Inherited from:
Input