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
diff options
context:
space:
mode:
authorRoman Reiss <me@silverwind.io>2017-03-05 20:03:39 +0300
committerRoman Reiss <me@silverwind.io>2017-03-08 19:19:24 +0300
commit5f32024055adc2f908c582d933259f9fcf5db423 (patch)
treebce5be96439ed649da400b25d01c800a8f0aa72a /doc/api/path.md
parent9772fb928263562a755f1aeef6a65620e7e51bf2 (diff)
doc/tools: fix more type inconsistencies
- fix a number of uppercase types - lowercase 'integer' - consistent formatting in crypto PR-URL: https://github.com/nodejs/node/pull/11697 Reviewed-By: James M Snell <jasnell@gmail.com> Reviewed-By: Luigi Pinca <luigipinca@gmail.com> Reviewed-By: Timothy Gu <timothygu99@gmail.com>
Diffstat (limited to 'doc/api/path.md')
-rw-r--r--doc/api/path.md22
1 files changed, 11 insertions, 11 deletions
diff --git a/doc/api/path.md b/doc/api/path.md
index 0a1c7dc5894..0039e2c3ef1 100644
--- a/doc/api/path.md
+++ b/doc/api/path.md
@@ -65,7 +65,7 @@ changes:
* `path` {string}
* `ext` {string} An optional file extension
-* Returns: {String}
+* Returns: {string}
The `path.basename()` methods returns the last portion of a `path`, similar to
the Unix `basename` command.
@@ -88,7 +88,7 @@ and is not a string.
added: v0.9.3
-->
-* {String}
+* {string}
Provides the platform-specific path delimiter:
@@ -125,7 +125,7 @@ changes:
-->
* `path` {string}
-* Returns: {String}
+* Returns: {string}
The `path.dirname()` method returns the directory name of a `path`, similar to
the Unix `dirname` command.
@@ -149,7 +149,7 @@ changes:
-->
* `path` {string}
-* Returns: {String}
+* Returns: {string}
The `path.extname()` method returns the extension of the `path`, from the last
occurrence of the `.` (period) character to end of string in the last portion of
@@ -189,7 +189,7 @@ added: v0.11.15
* `base` {string}
* `name` {string}
* `ext` {string}
-* Returns: {String}
+* Returns: {string}
The `path.format()` method returns a path string from an object. This is the
opposite of [`path.parse()`][].
@@ -248,7 +248,7 @@ added: v0.11.2
-->
* `path` {string}
-* Returns: {Boolean}
+* Returns: {boolean}
The `path.isAbsolute()` method determines if `path` is an absolute path.
@@ -283,7 +283,7 @@ added: v0.1.16
-->
* `...paths` {string} A sequence of path segments
-* Returns: {String}
+* 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.
@@ -310,7 +310,7 @@ added: v0.1.23
-->
* `path` {string}
-* Returns: {String}
+* Returns: {string}
The `path.normalize()` method normalizes the given `path`, resolving `'..'` and
`'.'` segments.
@@ -429,7 +429,7 @@ changes:
* `from` {string}
* `to` {string}
-* Returns: {String}
+* Returns: {string}
The `path.relative()` method returns the relative path from `from` to `to`.
If `from` and `to` each resolve to the same path (after calling `path.resolve()`
@@ -460,7 +460,7 @@ added: v0.3.4
-->
* `...paths` {string} A sequence of paths or path segments
-* Returns: {String}
+* Returns: {string}
The `path.resolve()` method resolves a sequence of paths or path segments into
an absolute path.
@@ -502,7 +502,7 @@ A [`TypeError`][] is thrown if any of the arguments is not a string.
added: v0.7.9
-->
-* {String}
+* {string}
Provides the platform-specific path segment separator: