libgit2

git_commit_graph_writer_dump

Version:

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

Signature

int git_commit_graph_writer_dump(git_buf *buffer, git_commit_graph_writer *w);

Parameters

Out
buffer

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

In
w

The writer.

Returns

int

0 or an error code

Versions