Workspace

mill.api.TaskCtx.Workspace
trait Workspace

Access to the project root (aka workspace) directory.

Attributes

Source
TaskCtx.scala
Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes
trait TaskCtx

Members list

Value members

Abstract methods

def workspace: Path

This is the os.Path pointing to the project root directory.

This is the os.Path pointing to the project root directory.

This is the preferred access to the project directory, and should always be preferred over os.pwd* (which might also point to the project directory in classic cli scenarios, but might not in other use cases like BSP or LSP server usage).

Attributes

Source
TaskCtx.scala