Commit a6e0673
doc: path functions ignore trailing slashes
Add notes about path.parse(), path.basename() and path.dirname()
ignoring trailing slashes.
PR-URL: #12181
Fixes: #6229
Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com>
Reviewed-By: Refael Ackermann <refack@gmail.com>
Reviewed-By: Ben Noordhuis <info@bnoordhuis.nl>
Reviewed-By: James M Snell <jasnell@gmail.com>
Reviewed-By: Luigi Pinca <luigipinca@gmail.com>
Reviewed-By: Colin Ihrig <cjihrig@gmail.com>
Reviewed-By: Sam Roberts <vieuxtech@gmail.com>1 parent 929ca30 commit a6e0673Copy full SHA for a6e0673
File tree
Expand file treeCollapse file tree
1 file changed
+11
-7
lines changedOpen diff view settings
Filter options
- doc/api
Expand file treeCollapse file tree
1 file changed
+11
-7
lines changedOpen diff view settings
Collapse file
+11-7Lines changed: 11 additions & 7 deletions
- Display the source diff
- Display the rich diff
| Original file line number | Diff line number | Diff line change |
|---|---|---|
| ||
64 | 64 | |
65 | 65 | |
66 | 66 | |
67 | | - |
| 67 | + |
| 68 | + |
68 | 69 | |
69 | 70 | |
70 | 71 | |
| ||
120 | 121 | |
121 | 122 | |
122 | 123 | |
123 | | - |
| 124 | + |
| 125 | + |
124 | 126 | |
125 | 127 | |
126 | 128 | |
| ||
335 | 337 | |
336 | 338 | |
337 | 339 | |
338 | | - |
| 340 | + |
| 341 | + |
339 | 342 | |
340 | 343 | |
341 | 344 | |
| ||
506 | 509 | |
507 | 510 | |
508 | 511 | |
| 512 | + |
| 513 | + |
| 514 | + |
| 515 | + |
509 | 516 | |
510 | 517 | |
511 | 518 | |
| ||
516 | 523 | |
517 | 524 | |
518 | 525 | |
519 | | - |
520 | | - |
521 | | - |
522 | | - |
523 | 526 | |
| 527 | + |
524 | 528 | |
525 | 529 | |
526 | 530 | |
0 commit comments