git_packbuilder_write_buf

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

extern (C) nothrow @nogc public
int
git_packbuilder_write_buf

Parameters

buf libgit2.buffer.git_buf*

Buffer where to write the packfile

pb libgit2.types.git_packbuilder*

The packbuilder

Return Value

Type: int

0 or an error code

Meta