GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — doc: use uppercase on windows path · nodejs/node@59a8dbe

File tree

Expand file treeCollapse file tree
Open diff view settings
Filter options
  • doc/api
    • fs.md
    • path.md
Expand file treeCollapse file tree
Open diff view settings
Collapse file

‎doc/api/fs.md‎

Copy file name to clipboardExpand all lines: doc/api/fs.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -152,8 +152,8 @@ fs.open(Buffer.from('/open/some/file.txt'), 'r', (err, fd) => {
152152

153153
On Windows, Node.js follows the concept of per-drive working directory. This
154154
behavior can be observed when using a drive path without a backslash. For
155-
example `fs.readdirSync('c:\\')` can potentially return a different result than
156-
`fs.readdirSync('c:')`. For more information, see
155+
example `fs.readdirSync('C:\\')` can potentially return a different result than
156+
`fs.readdirSync('C:')`. For more information, see
157157
[this MSDN page][MSDN-Rel-Path].
158158

159159
### URL object support
Collapse file

‎doc/api/path.md‎

Copy file name to clipboardExpand all lines: doc/api/path.md
+2-2Lines changed: 2 additions & 2 deletions
  • Display the source diff
  • Display the rich diff
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@ path.posix.basename('/tmp/myfile.html');
5656

5757
On Windows Node.js follows the concept of per-drive working directory.
5858
This behavior can be observed when using a drive path without a backslash. For
59-
example, `path.resolve('c:\\')` can potentially return a different result than
60-
`path.resolve('c:')`. For more information, see
59+
example, `path.resolve('C:\\')` can potentially return a different result than
60+
`path.resolve('C:')`. For more information, see
6161
[this MSDN page][MSDN-Rel-Path].
6262

6363
## `path.basename(path[, ext])`

0 commit comments

Comments
0 (0)
You are visitor 01402503 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.