shared
utils
string
object
is
extension
js
tracking
string
dom
when
selection
position
iframe
event
scroll
console
node
string
project
fs
console
copySync
Type:Function
Status:stable
Since:1.0.0
Platform:node
@blackbyte.sugar.node.fs
Copy a file or directory (sync)
Params
- src*-String
The source path to copy
- dest*-String
The destination path
Example
import { copySync } from '@blackbyte/sugar/fs';
copySync('my/cool/file.jpg', 'my/new/file.jpg');Author
- Olivier Bosselolivier.bossel@gmail.comhttps://blackbyte.space