rename (fs)
Also written: rename
A `node:fs/promises` function that renames or moves a file. Within one folder it happens all at once, which is what makes atomic writes work.
Also written: rename
A `node:fs/promises` function that renames or moves a file. Within one folder it happens all at once, which is what makes atomic writes work.