libgit2

git_commit_graph_writer_commit

Version:

Write a commit-graph file to a file.

Signature

int git_commit_graph_writer_commit(git_commit_graph_writer *w, git_commit_graph_writer_options *opts);

Parameters

In
w

The writer

In
opts

Pointer to git_commit_graph_writer_options struct.

Returns

int

0 or an error code

Versions