Liking cljdoc? Tell your friends :D

dots.node.fs.copy-sync-options


dereference?cljs

(dereference? copy-sync-options)

Dereference symlinks

Dereference symlinks
sourceraw docstring

error-on-exist?cljs

(error-on-exist? copy-sync-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-sync-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

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

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

**Returns:** `boolean`
sourceraw docstring

force?cljs

(force? copy-sync-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-sync-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-sync-options)

When true timestamps from src will be preserved.

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

recursive?cljs

(recursive? copy-sync-options)

Copy directories recursively.

Copy directories recursively.
sourceraw docstring

set-dereference!cljs

(set-dereference! copy-sync-options value)

Dereference symlinks

Dereference symlinks
sourceraw docstring

set-error-on-exist!cljs

(set-error-on-exist! copy-sync-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-sync-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-sync-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-sync-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-sync-options value)

Copy directories recursively.

Copy directories recursively.
sourceraw docstring

set-verbatim-symlinks!cljs

(set-verbatim-symlinks! copy-sync-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-sync-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