[Windows] io.mv does not move files across different drives (d:\source to c:\destination)
Open
Nobody has claimed this yet.
bug
io
- Dominant language
- TypeScript
- Stars
- 5.9k
- Forks
- 1.8k
- PR merge metrics
- No merged PRs in 30d
Description
io.mv should move files and folders across different drives, but it errors out:
(node:4772) UnhandledPromiseRejectionWarning: Error: EXDEV: cross-device link not permitted, rename 'D:\a\_temp\96949a60-a4f3-4be1-a980-d67d093e23cb\cmdline-tools' -> 'C:\Android\android-sdk\cmdline-tools\3.0'
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Locate the implementation of io.mv and reproduce the reported Windows case with source and destination on different drives. Verify that moving both files and folders across drives succeeds without the reported EXDEV error.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- typescript
- Domain
- tooling
- Issue type
- Bug
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Activity status
- Stale
- Clarity
- Mostly clear
- Newbie friendliness
- 35/100