Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorRich Trott <rtrott@gmail.com>2018-11-06 08:40:46 +0300
committerMyles Borins <mylesborins@google.com>2018-12-03 21:32:57 +0300
commit0b6c1bb346c7fdaa68170c8f38cd1ca1ce033fe9 (patch)
treee9e025285a1ac388c1490060b3ca594a065d1638 /doc
parent9503365d2045a5ca63dbea62069c76fd287c01f7 (diff)
doc: implement minor text fixes to path.md
posix -> POSIX platform specific -> platform-specific PR-URL: https://github.com/nodejs/node/pull/24118 Reviewed-By: Richard Lau <riclau@uk.ibm.com> Reviewed-By: Daniel Bevenius <daniel.bevenius@gmail.com>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/path.md6
1 files changed, 3 insertions, 3 deletions
diff --git a/doc/api/path.md b/doc/api/path.md
index a5cd310690e..4cfa4fa8ae3 100644
--- a/doc/api/path.md
+++ b/doc/api/path.md
@@ -288,7 +288,7 @@ added: v0.1.16
* Returns: {string}
The `path.join()` method joins all given `path` segments together using the
-platform specific separator as a delimiter, then normalizes the resulting path.
+platform-specific separator as a delimiter, then normalizes the resulting path.
Zero-length `path` segments are ignored. If the joined path string is a
zero-length string then `'.'` will be returned, representing the current
@@ -317,7 +317,7 @@ The `path.normalize()` method normalizes the given `path`, resolving `'..'` and
When multiple, sequential path segment separation characters are found (e.g.
`/` on POSIX and either `\` or `/` on Windows), they are replaced by a single
-instance of the platform specific path segment separator (`/` on POSIX and
+instance of the platform-specific path segment separator (`/` on POSIX and
`\` on Windows). Trailing separators are preserved.
If the `path` is a zero-length string, `'.'` is returned, representing the
@@ -543,7 +543,7 @@ On Windows systems only, returns an equivalent [namespace-prefixed path][] for
the given `path`. If `path` is not a string, `path` will be returned without
modifications.
-This method is meaningful only on Windows system. On posix systems, the
+This method is meaningful only on Windows system. On POSIX systems, the
method is non-operational and always returns `path` without modifications.
## path.win32