(force? rm-options)
When true
, exceptions will be ignored if path
does not exist.
When `true`, exceptions will be ignored if `path` does not exist.
(max-retries rm-options)
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`.
(recursive? rm-options)
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.
(retry-delay rm-options)
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`.
(set-force! rm-options value)
When true
, exceptions will be ignored if path
does not exist.
When `true`, exceptions will be ignored if `path` does not exist.
(set-max-retries! rm-options value)
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`.
(set-recursive! rm-options value)
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.
(set-retry-delay! rm-options value)
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`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close