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