git_commit_graph_writer_dump

Dump the contents of the commit-graph to an in-memory buffer.

Parameters

buffer libgit2.buffer.git_buf*

Buffer where to store the contents of the commit-graph.

w libgit2.types.git_commit_graph_writer*

The writer.

opts .git_commit_graph_writer_options*

Pointer to git_commit_graph_writer_options struct.

Return Value

Type: int

0 or an error code

Meta