git_mempack_reset

Reset the memory packer by clearing all the queued objects.

This assumes that git_mempack_dump has been called before to store all the queued objects into a single packfile.

Alternatively, call reset without a previous dump to "undo" all the recently written objects, giving transaction-like semantics to the Git repository.

@param backend The mempack backend @return 0 on success; error code otherwise

package extern (C) nothrow @nogc
int
git_mempack_reset

Meta