Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
G
git2
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
git2
Commits
4baf2d8b
Commit
4baf2d8b
authored
Dec 16, 2015
by
Carlos Martín Nieto
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #3548 from tepas/patch-1
fix git_blob_create_fromchunks documentation
parents
f824259e
cf339ede
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
2 additions
and
2 deletions
+2
-2
include/git2/blob.h
+2
-2
No files found.
include/git2/blob.h
View file @
4baf2d8b
...
@@ -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.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment