We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
2 parents 4ce872a + ca1e3db commit bfe5cb5Copy full SHA for bfe5cb5
include/git2/odb.h
@@ -382,7 +382,7 @@ GIT_EXTERN(int) git_odb_stream_finalize_write(git_oid *out, git_odb_stream *stre
382
* @param stream the stream
383
* @param buffer a user-allocated buffer to store the data in.
384
* @param len the buffer's length
385
- * @return 0 if the read succeeded, error code otherwise
+ * @return the number of bytes read if succeeded, error code otherwise
386
*/
387
GIT_EXTERN(int) git_odb_stream_read(git_odb_stream *stream, char *buffer, size_t len);
388
0 commit comments