Liking cljdoc? Tell your friends :D

dots.node.fs.copy-options


dereference?cljs

(dereference? copy-options)

Dereference symlinks

Dereference symlinks
sourceraw docstring

error-on-exist?cljs

(error-on-exist? copy-options)

When force is false, and the destination exists, throw an error.

When `force` is `false`, and the destination
exists, throw an error.
sourceraw docstring

filter?cljs

(filter? copy-options source destination)

Function to filter copied files/directories. Return true to copy the item, false to ignore it.

Parameters:

  • source: string
  • destination: string

Returns: boolean | Promise<boolean>

Function to filter copied files/directories. Return
`true` to copy the item, `false` to ignore it.

**Parameters:**
- `source`: `string`
- `destination`: `string`

**Returns:** `boolean | Promise<boolean>`
sourceraw docstring

force?cljs

(force? copy-options)

Overwrite existing file or directory. _The copy operation will ignore errors if you set this to false and the destination exists. Use the errorOnExist option to change this behavior.

Overwrite existing file or directory. _The copy
operation will ignore errors if you set this to false and the destination
exists. Use the `errorOnExist` option to change this behavior.
sourceraw docstring

modecljs

(mode copy-options)

Modifiers for copy operation. See mode flag of {@link copyFileSync()}

Modifiers for copy operation. See `mode` flag of {@link copyFileSync()}
sourceraw docstring

preserve-timestamps?cljs

(preserve-timestamps? copy-options)

When true timestamps from src will be preserved.

When `true` timestamps from `src` will
be preserved.
sourceraw docstring

recursive?cljs

(recursive? copy-options)

Copy directories recursively.

Copy directories recursively.
sourceraw docstring

set-dereference!cljs

(set-dereference! copy-options value)

Dereference symlinks

Dereference symlinks
sourceraw docstring

set-error-on-exist!cljs

(set-error-on-exist! copy-options value)

When force is false, and the destination exists, throw an error.

When `force` is `false`, and the destination
exists, throw an error.
sourceraw docstring

set-force!cljs

(set-force! copy-options value)

Overwrite existing file or directory. _The copy operation will ignore errors if you set this to false and the destination exists. Use the errorOnExist option to change this behavior.

Overwrite existing file or directory. _The copy
operation will ignore errors if you set this to false and the destination
exists. Use the `errorOnExist` option to change this behavior.
sourceraw docstring

set-mode!cljs

(set-mode! copy-options value)

Modifiers for copy operation. See mode flag of {@link copyFileSync()}

Modifiers for copy operation. See `mode` flag of {@link copyFileSync()}
sourceraw docstring

set-preserve-timestamps!cljs

(set-preserve-timestamps! copy-options value)

When true timestamps from src will be preserved.

When `true` timestamps from `src` will
be preserved.
sourceraw docstring

set-recursive!cljs

(set-recursive! copy-options value)

Copy directories recursively.

Copy directories recursively.
sourceraw docstring

set-verbatim-symlinks!cljs

(set-verbatim-symlinks! copy-options value)

When true, path resolution for symlinks will be skipped

When true, path resolution for symlinks will be skipped
sourceraw docstring

verbatim-symlinks?cljs

(verbatim-symlinks? copy-options)

When true, path resolution for symlinks will be skipped

When true, path resolution for symlinks will be skipped
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close