ammonite.runtime.tools

Members list

Type members

Classlikes

case class GrepResult(spans: Seq[(Int, Int)], text: Str)

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
class Object
trait Matchable
class Any
Show all
object GrepResult

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class Object
trait Matchable
class Any
Self type
GrepResult.type
trait Grepper[T]

Attributes

Companion
object
Supertypes
class Object
trait Matchable
class Any
Known subtypes
object Regex.type
object Str.type
object Grepper

Attributes

Companion
trait
Supertypes
class Object
trait Matchable
class Any
Self type
Grepper.type
object browse

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
browse.type
object grep

Lets you filter a list by searching for a matching string or regex within the pretty-printed contents.

Lets you filter a list by searching for a matching string or regex within the pretty-printed contents.

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
grep.type
case class tail(interval: Int, prefix: Int) extends Path => Iterator[String]

Attributes

Companion
object
Supertypes
trait Serializable
trait Product
trait Equals
trait Path => Iterator[String]
class Object
trait Matchable
class Any
Show all
Known subtypes
object tail.type
object tail extends tail

Follows a file as it is written, handy e.g. for log files. Returns an iterator which you can then print to standard out or use for other things.

Follows a file as it is written, handy e.g. for log files. Returns an iterator which you can then print to standard out or use for other things.

Attributes

Companion
class
Supertypes
trait Product
trait Mirror
class tail
trait Serializable
trait Product
trait Equals
trait Path => Iterator[String]
class Object
trait Matchable
class Any
Show all
Self type
tail.type
object time

Records how long the given computation takes to run, returning the duration in addition to the return value of that computation

Records how long the given computation takes to run, returning the duration in addition to the return value of that computation

Attributes

Supertypes
class Object
trait Matchable
class Any
Self type
time.type