Commit 4baf2d8b by Carlos Martín Nieto

Merge pull request #3548 from tepas/patch-1

fix git_blob_create_fromchunks documentation
parents f824259e cf339ede
...@@ -171,8 +171,8 @@ typedef int (*git_blob_chunk_cb)(char *content, size_t max_length, void *payload ...@@ -171,8 +171,8 @@ typedef int (*git_blob_chunk_cb)(char *content, size_t max_length, void *payload
* - The `callback` must return the number of bytes that have been * - The `callback` must return the number of bytes that have been
* written to the `content` buffer. * written to the `content` buffer.
* *
* - When there is no more data to stream, `callback` should return * - When there is no more data to stream, `callback` should return 0.
* 0. This will prevent it from being invoked anymore. * This will prevent it from being invoked anymore.
* *
* - If an error occurs, the callback should return a negative value. * - If an error occurs, the callback should return a negative value.
* This value will be returned to the caller. * This value will be returned to the caller.
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment