Skip to content

Commit 838c1ad

Browse files
committed
Update Diff.blobToBuffer documentation to make jshint happy.
1 parent 7cc1a41 commit 838c1ad

File tree

1 file changed

+6
-3
lines changed

1 file changed

+6
-3
lines changed

lib/diff.js

Lines changed: 6 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -62,11 +62,14 @@ var blobToBuffer = Diff.blobToBuffer;
6262
* Directly run a diff between a blob and a buffer.
6363
* @async
6464
* @param {Blob} old_blob Blob for old side of diff, or NULL for empty blob
65-
* @param {String} old_as_path Treat old blob as if it had this filename; can be NULL
65+
* @param {String} old_as_path Treat old blob as if it had this filename;
66+
* can be NULL
6667
* @param {String} buffer Raw data for new side of diff, or NULL for empty
67-
* @param {String} buffer_as_path Treat buffer as if it had this filename; can be NULL
68+
* @param {String} buffer_as_path Treat buffer as if it had this filename;
69+
* can be NULL
6870
* @param {DiffOptions} opts Options for diff, or NULL for default options
69-
* @param {Function} file_cb Callback for "file"; made once if there is a diff; can be NULL
71+
* @param {Function} file_cb Callback for "file"; made once if there is a diff;
72+
* can be NULL
7073
* @param {Function} binary_cb Callback for binary files; can be NULL
7174
* @param {Function} hunk_cb Callback for each hunk in diff; can be NULL
7275
* @param {Function} line_cb Callback for each line in diff; can be NULL

0 commit comments

Comments
 (0)