发布于 2016-04-13 00:27:10 | 116 次阅读 | 评论: 0 | 来源: 网友投递
libgit2 Git开发包
libgit2 是一个可移植、纯C语言实现的 Git 核心开发包,你可以使用它来编写自定义的 Git 应用。
libgit2 v0.24.1 发布了,
以下是一些值得关注的内容:
git_commit_create_buffer()
creates a commit and writes it into a user-provided buffer instead of writing it into the object db.
git_blob_create_fromstream()
andgit_blob_create_fromstream_commit()
allow you to create a blob by writing into a stream. Useful when you do not know the final size or want to copy the contents from another stream.
git_blob_create_fromchunks()
has been removed in favour ofgit_blob_create_fromstream()
.
下载地址: