FileCommands

sbt.internal.scripted.FileCommands
class FileCommands(baseDirectory: File) extends BasicStatementHandler

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Concise view

Type members

Classlikes

final class CommandBuilder(commandName: String)

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Inherited types

final type State = Unit

Attributes

Inherited from:
BasicStatementHandler

Value members

Concrete methods

def absent(paths: List[String]): Unit
def apply(command: String, arguments: List[String]): Unit
def commandMap: Map[String, List[String] => Unit]
def copyFile(from: String, to: String): Unit
def delete(paths: List[String]): Unit
def diffFiles(file1: String, file2: String): Unit
def execute(command: List[String]): Unit
def execute0(command: String, args: List[String]): Unit
def exists(paths: List[String]): Unit
def fromString(path: String): File
def fromStrings(paths: List[String]): List[File]
def makeDirectories(paths: List[String]): Unit
def newer(a: String, b: String): Unit
def scriptError(message: String): Unit
def spaced[T](l: Seq[T]): String
def touch(paths: List[String]): Unit

Inherited methods

final def apply(command: String, arguments: List[String], state: Unit): Unit

Attributes

Inherited from:
BasicStatementHandler
def finish(state: Unit): Unit

Attributes

Inherited from:
BasicStatementHandler
final def initialState: State

Attributes

Inherited from:
BasicStatementHandler

Concrete fields

lazy val commands: Map[String, List[String] => Unit]

Implicits

Implicits

implicit def commandBuilder(s: String): CommandBuilder