/** * @name move * @namespace node.fs * @type Function * @platform node * @status stable * * Moves a file or directory, even across devices (async) * * @param {String} src The source path to move * @param {String} dest The destination path * @return {Promise} A promise that will be resolved once the file/directory has been moved... * * @todo tests * * @snippet __move($1, $2) * await __move($1, $2) * * @example js * import { __move } from '@lotsof/sugar/fs'; * await __move('my/cool/dir', 'another/place/for/directory').then(() => { * // do something... * }); * * @see https://github.com/jprichardson/node-fs-extra * @since 1.0.0 * @author Olivier Bossel (https://lotsof.dev) */ export default function __move(src: string, dest: string): Promise;