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, git_commit_graph_writer_options *opts);

Parameters

In
buffer

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

In
w

The writer.

In
opts

Pointer to git_commit_graph_writer_options struct.

Returns

int

0 or an error code

Versions