You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Is your feature request related to a problem? Please describe.
currently you cannot use Deno.rename to move a file or directory across mounts/devices:
error: Uncaught (in promise) Error: Invalid cross-device link (os error 18)
await Deno.rename(src, dest);
^
at deno:core/01_core.js:106:46
at unwrapOpResult (deno:core/01_core.js:126:13)
at async Object.rename (deno:runtime/js/30_fs.js:172:5)
at async move (https://deno.land/std@0.102.0/fs/move.ts:33:3)
this is not the case with the mv command: mv uses cp(1) and rm(1)
Describe the solution you'd like
make Deno.rename match mv.
The text was updated successfully, but these errors were encountered:
Is your feature request related to a problem? Please describe.
currently you cannot use
Deno.rename
tomove
a file or directory across mounts/devices:this is not the case with the
mv
command:mv uses cp(1) and rm(1)
Describe the solution you'd like
make Deno.rename match
mv
.The text was updated successfully, but these errors were encountered: