RmOptions

@native @JSType trait RmOptions extends StObject
Companion
object
trait StObject
class Object
trait Any
class Object
trait Matchable
class Any

Value members

Inherited methods

def hasOwnProperty(v: String): Boolean
Inherited from
Object
def isPrototypeOf(v: Object): Boolean
Inherited from
Object
def propertyIsEnumerable(v: String): Boolean
Inherited from
Object
def toLocaleString(): String
Inherited from
Object
def valueOf(): Any
Inherited from
Object

Concrete fields

var force: UndefOr[Boolean]

When true, exceptions will be ignored if path does not exist.

When true, exceptions will be ignored if path does not exist.

var maxRetries: UndefOr[Double]

If an EBUSY, EMFILE, ENFILE, ENOTEMPTY, or EPERM error is encountered, Node.js will retry the operation with a linear backoff wait of retryDelay ms longer on each try. This option represents the number of retries. This option is ignored if the recursive option is not true.

If an EBUSY, EMFILE, ENFILE, ENOTEMPTY, or EPERM error is encountered, Node.js will retry the operation with a linear backoff wait of retryDelay ms longer on each try. This option represents the number of retries. This option is ignored if the recursive option is not true.

var recursive: UndefOr[Boolean]

If true, perform a recursive directory removal. In recursive mode, operations are retried on failure.

If true, perform a recursive directory removal. In recursive mode, operations are retried on failure.

var retryDelay: UndefOr[Double]

The amount of time in milliseconds to wait between retries. This option is ignored if the recursive option is not true.

The amount of time in milliseconds to wait between retries. This option is ignored if the recursive option is not true.