Commit 9e0c88f
fix(pm): ensure cache dir is on same drive as project on Windows
Hardlinks cannot cross drive boundaries on Windows. When cache is on
C: but project is on D:, utoo falls back to copy (very slow).
Detect cross-drive and use a cache dir on the project's drive instead
(e.g. D:\.cache\nm).
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 69b4ce3 commit 9e0c88f
1 file changed
Lines changed: 17 additions & 1 deletion
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
140 | 140 | | |
141 | 141 | | |
142 | 142 | | |
143 | | - | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
144 | 160 | | |
145 | 161 | | |
146 | 162 | | |
| |||
0 commit comments