libgit2.sys.mempack

Members

Functions

git_mempack_dump
int git_mempack_dump(libgit2.buffer.git_buf* pack, libgit2.types.git_repository* repo, libgit2.types.git_odb_backend* backend)

Dump all the queued in-memory writes to a packfile.

git_mempack_new
int git_mempack_new(libgit2.types.git_odb_backend** out_)

Instantiate a new mempack backend.

git_mempack_reset
int git_mempack_reset(libgit2.types.git_odb_backend* backend)

Reset the memory packer by clearing all the queued objects.

Meta

License

GPL-2.0(Linking Exception)