remove

os.remove
object remove extends Path => Boolean

Roughly equivalent to bash's rm -rf. Deletes any files or folders in the target path, or does nothing if there aren't any

Attributes

Graph
Supertypes
trait Path => Boolean
class Object
trait Matchable
class Any
Self type
remove.type

Members list

Type members

Classlikes

object all extends Path => Unit

Attributes

Supertypes
trait Path => Unit
class Object
trait Matchable
class Any
Self type
all.type

Value members

Concrete methods

def apply(target: Path): Boolean
def apply(target: Path, checkExists: Boolean): Boolean

Inherited methods

def andThen[A](g: Boolean => A): T1 => A

Attributes

Inherited from:
Function1
def compose[A](g: A => Path): A => R

Attributes

Inherited from:
Function1
override def toString(): String

Returns a string representation of the object.

Returns a string representation of the object.

The default representation is platform dependent.

Attributes

Returns

a string representation of the object.

Definition Classes
Function1 -> Any
Inherited from:
Function1