DataAdapter.copy method
DataAdapter › copy
Official
Create a copy of a file. This will fail if there is already a file atnormalizedNewPath. Signature:
copy(normalizedPath: string, normalizedNewPath: string): Promise<void>Parameters:
| Parameter | Type | Description |
|---|---|---|
| normalizedPath | string | path to file, use {@link normalizePath} to normalize beforehand. |
| normalizedNewPath | string | path to file, use {@link normalizePath} to normalize beforehand. |