Commit 26e8f77
fs: introduce
The goal is to replace `dirent.path` using a name that's less likely to
create confusion.
`dirent.path` value has not been stable, moving it to a different
property name should avoid breaking some upgrading user expectations.
PR-URL: #50976
Backport-PR-URL: #51021
Reviewed-By: Ethan Arrowood <ethan@arrowood.dev>
Reviewed-By: LiviaMedeiros <livia@cirno.name>dirent.parentPath
1 parent 96514a8 commit 26e8f77Copy full SHA for 26e8f77
File tree
Expand file treeCollapse file tree
4 files changed
+34
-13
lines changedOpen diff view settings
Filter options
- doc/api
- lib/internal/fs
- test/parallel
Expand file treeCollapse file tree
4 files changed
+34
-13
lines changedOpen diff view settings
Collapse file
+13Lines changed: 13 additions & 0 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
6437 | 6437 | |
6438 | 6438 | |
6439 | 6439 | |
| 6440 | + |
| 6441 | + |
| 6442 | + |
| 6443 | + |
| 6444 | + |
| 6445 | + |
| 6446 | + |
| 6447 | + |
| 6448 | + |
| 6449 | + |
| 6450 | + |
| 6451 | + |
| 6452 | + |
6440 | 6453 | |
6441 | 6454 | |
6442 | 6455 | |
|
Collapse file
+2-1Lines changed: 2 additions & 1 deletion
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
152 | 152 | |
153 | 153 | |
154 | 154 | |
155 | | - |
| 155 | + |
156 | 156 | |
157 | 157 | |
| 158 | + |
158 | 159 | |
159 | 160 | |
160 | 161 | |
|
Collapse file
+14-9Lines changed: 14 additions & 9 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
161 | 161 | |
162 | 162 | |
163 | 163 | |
164 | | - |
| 164 | + |
165 | 165 | |
166 | | - |
| 166 | + |
| 167 | + |
167 | 168 | |
168 | 169 | |
169 | 170 | |
| ||
197 | 198 | |
198 | 199 | |
199 | 200 | |
200 | | - |
201 | | - |
| 201 | + |
| 202 | + |
202 | 203 | |
203 | 204 | |
204 | 205 | |
| ||
233 | 234 | |
234 | 235 | |
235 | 236 | |
236 | | - |
| 237 | + |
237 | 238 | |
238 | 239 | |
239 | 240 | |
| ||
268 | 269 | |
269 | 270 | |
270 | 271 | |
271 | | - |
| 272 | + |
272 | 273 | |
273 | 274 | |
274 | 275 | |
| ||
304 | 305 | |
305 | 306 | |
306 | 307 | |
307 | | - |
| 308 | + |
308 | 309 | |
309 | 310 | |
310 | 311 | |
311 | 312 | |
312 | 313 | |
313 | 314 | |
314 | 315 | |
315 | | - |
316 | | - |
| 316 | + |
| 317 | + |
| 318 | + |
| 319 | + |
317 | 320 | |
| 321 | + |
| 322 | + |
318 | 323 | |
319 | 324 | |
320 | 325 | |
|
Collapse file
test/parallel/test-fs-opendir.js
Copy file name to clipboardExpand all lines: test/parallel/test-fs-opendir.js+5-3Lines changed: 5 additions & 3 deletions
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
48 | 48 | |
49 | 49 | |
50 | 50 | |
51 | | - |
52 | | - |
53 | | - |
| 51 | + |
| 52 | + |
| 53 | + |
| 54 | + |
| 55 | + |
54 | 56 | |
55 | 57 | |
56 | 58 | |
|
0 commit comments