Packages

p

mill

util

package util

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. sealed class AggWrapper extends AnyRef
  2. class CallbackStream extends OutputStream
  3. class Ctx extends Dest with Log with Args with Home
  4. case class EnclosingClass(value: Class[_]) extends Product with Serializable
  5. case class FileLogger(colored: Boolean, file: Path) extends Logger with Product with Serializable
  6. trait JsonFormatters extends AnyRef
  7. trait Logger extends AnyRef

    The standard logging interface of the Mill build tool.

    The standard logging interface of the Mill build tool.

    Contains four primary logging methods, in order of increasing importance:

    - ticker: short-lived logging output where consecutive lines over-write each other; useful for information which is transient and disposable

    - info: miscellaneous logging output which isn't part of the main output a user is looking for, but useful to provide context on what Mill is doing

    - error: logging output which represents problems the user should care about

    Also contains the two forwarded stdout and stderr streams, for code executed by Mill to use directly. Typically these correspond to the stdout and stderr, but when show is used both are forwarded to stderr and stdout is only used to display the final show output for easy piping.

  8. trait MultiBiMap[K, V] extends AnyRef

    A map from keys to collections of values: you can assign multiple values to any particular key.

    A map from keys to collections of values: you can assign multiple values to any particular key. Also allows lookups in both directions: what values are assigned to a key or what key a value is assigned ti.

  9. case class MultiLogger(colored: Boolean, streams: Logger*) extends Logger with Product with Serializable
  10. case class PrintLogger(colored: Boolean, colors: Colors, outStream: PrintStream, infoStream: PrintStream, errStream: PrintStream, inStream: InputStream) extends Logger with Product with Serializable
  11. sealed trait PrintState extends AnyRef
  12. class Router[C <: Context] extends AnyRef
  13. case class Watched[T](value: T, watched: Seq[PathRef]) extends Product with Serializable

Value Members

  1. object ClassLoader
  2. object Ctx
  3. object DummyInputStream extends ByteArrayInputStream
  4. object DummyLogger extends Logger
  5. object DummyOutputStream extends OutputStream
  6. object EitherOps
  7. object EnclosingClass extends Serializable
  8. object IO

    Misc IO utilities, eventually probably should be pushed upstream into ammonite-ops

  9. object JsonFormatters extends JsonFormatters
  10. object Loose extends AggWrapper
  11. object MultiBiMap
  12. object ParseArgs
  13. object PrintState
  14. object Router

    More or less a minimal version of Autowire's Server that lets you generate a set of "routes" from the methods defined in an object, and call them using passing in name/args/kwargs via Java reflection, without having to generate/compile code or use Scala reflection.

    More or less a minimal version of Autowire's Server that lets you generate a set of "routes" from the methods defined in an object, and call them using passing in name/args/kwargs via Java reflection, without having to generate/compile code or use Scala reflection. This saves us spinning up the Scala compiler and greatly reduces the startup time of cached scripts.

  15. object Scripts

    Logic around using Ammonite as a script-runner; invoking scripts via the macro-generated Router, and pretty-printing any output or error messages

  16. object Strict extends AggWrapper
  17. object Watched extends Serializable

Ungrouped