FazBrowse GitHub Viewer | Trending |
URL:
| Home
Tools: [Download Repo ZIP]   [Original HTTPS Page]

doc: clarity type of first argument in zlib by fanatid · Pull Request #5685 · nodejs/node · GitHub

/ node Public

doc: clarity type of first argument in zlib - #5685

Closed
fanatid wants to merge 1 commit into
nodejs:masterfrom
fanatid:fix/doc-zlib
Closed

doc: clarity type of first argument in zlib#5685
fanatid wants to merge 1 commit into
nodejs:masterfrom
fanatid:fix/doc-zlib

Conversation

fanatid commented Mar 13, 2016

Copy link
Copy Markdown
Contributor

The current documentation for Convenience Methods specify that first argument can be string or buffer, string or raw Buffer.

This PR replace string and raw Buffer to string or buffer.

claudiorodriguez added doc Issues and PRs related to the documentations. zlib Issues and PRs related to the zlib subsystem. labels Mar 13, 2016

Copy link
Copy Markdown
Contributor

LGTM. Two tiny improvements I can think of to clarify it further would be to capitalize the B in Buffer, and, in the text "All of these take a string or buffer as the first argument", link the word "Buffer" to the buffer doc page.

jasnell commented Mar 14, 2016

Copy link
Copy Markdown
Member

LGTM

Copy link
Copy Markdown
Contributor

PS tiny tiny nit, commit message should be:

doc: clarify type of first argument in zlib

The current documentation for Convenience Methods specifies that
the first argument can be either
`string or buffer`, `string` or `raw Buffer`.
This commit replaces all these instances with `Buffer or string`.

This can be changed while merging though.

fanatid commented Mar 14, 2016

Copy link
Copy Markdown
Contributor Author

updated (commit message)

The current documentation for Convenience Methods specifies that
the first argument can be either
`string or buffer`, `string` or `raw Buffer`.
This commit replaces all these instances with `Buffer or string`.
claudiorodriguez pushed a commit that referenced this pull request Mar 15, 2016
The current documentation for Convenience Methods specifies that
the first argument can be either
`string or buffer`, `string` or `raw Buffer`.
This commit replaces all these instances with `Buffer or string`.

PR-URL: #5685
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
Reviewed-By: James M Snell <jasnell@gmail.com>

Copy link
Copy Markdown
Contributor

Landed in 6404481

fanatid deleted the fix/doc-zlib branch March 15, 2016 15:22
evanlucas pushed a commit that referenced this pull request Mar 15, 2016
The current documentation for Convenience Methods specifies that
the first argument can be either
`string or buffer`, `string` or `raw Buffer`.
This commit replaces all these instances with `Buffer or string`.

PR-URL: #5685
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
evanlucas mentioned this pull request Mar 15, 2016
rvagg pushed a commit that referenced this pull request Mar 16, 2016
The current documentation for Convenience Methods specifies that
the first argument can be either
`string or buffer`, `string` or `raw Buffer`.
This commit replaces all these instances with `Buffer or string`.

PR-URL: #5685
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Mar 17, 2016
The current documentation for Convenience Methods specifies that
the first argument can be either
`string or buffer`, `string` or `raw Buffer`.
This commit replaces all these instances with `Buffer or string`.

PR-URL: #5685
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Mar 21, 2016
The current documentation for Convenience Methods specifies that
the first argument can be either
`string or buffer`, `string` or `raw Buffer`.
This commit replaces all these instances with `Buffer or string`.

PR-URL: #5685
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
MylesBorins pushed a commit that referenced this pull request Mar 21, 2016
The current documentation for Convenience Methods specifies that
the first argument can be either
`string or buffer`, `string` or `raw Buffer`.
This commit replaces all these instances with `Buffer or string`.

PR-URL: #5685
Reviewed-By: Claudio Rodriguez <cjrodr@yahoo.com>
Reviewed-By: James M Snell <jasnell@gmail.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters. Learn more about bidirectional Unicode characters
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

doc Issues and PRs related to the documentations. zlib Issues and PRs related to the zlib subsystem.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants


Back | FazBrowse Home | New Git URL