FileCommands

class FileCommands(baseDirectory: File) extends BasicStatementHandler
class Object
trait Matchable
class Any

Type members

Classlikes

final class CommandBuilder(commandName: String)

Inherited types

final type State = Unit
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
Inherited from:
BasicStatementHandler
def finish(state: Unit): Unit
Inherited from:
BasicStatementHandler
final def initialState: State
Inherited from:
BasicStatementHandler

Concrete fields

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

Implicits

Implicits

implicit def commandBuilder(s: String): CommandBuilder