Dsl

better.files.Dsl$
object Dsl

Do file ops using a UNIX command line DSL

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Dsl.type

Members list

Concise view

Type members

Classlikes

implicit class SymbolicOperations(val file: File)

Adds some symbolic operations to file

Adds some symbolic operations to file

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any

Value members

Concrete methods

def cat(files: File*): Seq[Iterator[Byte]]
def chgrp(group: String, file: File): File
def chmod(permissions: String, file: File): File

Update permission of this file

Update permission of this file

Attributes

permissions

Must be 9 character POSIX permission representation e.g. "rwxr-x---"

def chmod_+(permission: PosixFilePermission, file: File): File
def chmod_-(permission: PosixFilePermission, file: File): File
def chown(owner: String, file: File): File
def cp(from: File, to: File): File
def cwd: File
def del(file: File): File
def dir(file: File): Iterator[File]
def gzip(file: File)(destination: File): File
def ln(file1: File, file2: File): File
def ln_s(file1: File, file2: File): File
def ls(file: File): Iterator[File]
def ls_r(file: File): Iterator[File]
def md5(file: File): String
def mkdir(file: File): File
def mkdirs(file: File): File
def mv(from: File, to: File): File
def pwd: File
def rm(file: File): File
def sha1(file: File): String
def sha256(file: File): String
def sha512(file: File): String
def stat(file: File): PosixFileAttributes
def touch(file: File): File
def ungzip(gzipFile: File)(destination: File): File
def unzip(zipFile: File)(destination: File, charset: Charset): File
def zip(files: File*)(destination: File, compressionLevel: Int, charset: Charset): File
def ~: File

Concrete fields

val ..: File => File
val `.`: File => File

Implicits

Implicits

final implicit def SymbolicOperations(file: File): SymbolicOperations

Adds some symbolic operations to file

Adds some symbolic operations to file

Attributes