libgit2

git_packbuilder_write_buf

Version:

Write the contents of the packfile to an in-memory buffer

The contents of the buffer will become a valid packfile, even though there will be no attached index

Signature

int git_packbuilder_write_buf(git_buf *buf, git_packbuilder *pb);

Parameters

In
buf

Buffer where to write the packfile

In
pb

The packbuilder

Returns

int

Versions