mirror of
https://git.proxmox.com/git/libgit2
synced 2025-06-19 20:36:44 +00:00
fix git_blob_create_fromchunks documentation
putting `0.` at the start of the line turns it into a numbered list.
This commit is contained in:
parent
7f2c1469f8
commit
cf339ede0a
@ -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.
|
||||||
|
Loading…
Reference in New Issue
Block a user