Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Commit 4baf2d8

Browse files
committed
Merge pull request libgit2#3548 from tepas/patch-1
fix git_blob_create_fromchunks documentation
2 parents f824259 + cf339ed commit 4baf2d8

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

include/git2/blob.h

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -171,8 +171,8 @@ typedef int (*git_blob_chunk_cb)(char *content, size_t max_length, void *payload
171171
* - The `callback` must return the number of bytes that have been
172172
* written to the `content` buffer.
173173
*
174-
* - When there is no more data to stream, `callback` should return
175-
* 0. This will prevent it from being invoked anymore.
174+
* - When there is no more data to stream, `callback` should return 0.
175+
* This will prevent it from being invoked anymore.
176176
*
177177
* - If an error occurs, the callback should return a negative value.
178178
* This value will be returned to the caller.

0 commit comments

Comments
 (0)