git_commit_graph_writer_options_init

Initialize git_commit_graph_writer_options structure

Initializes a git_commit_graph_writer_options with default values. Equivalent to creating an instance with GIT_COMMIT_GRAPH_WRITER_OPTIONS_INIT.

extern (C) nothrow @nogc
int
git_commit_graph_writer_options_init

Parameters

opts .git_commit_graph_writer_options*

The git_commit_graph_writer_options struct to initialize.

version_ uint

The struct version; pass GIT_COMMIT_GRAPH_WRITER_OPTIONS_VERSION.

Return Value

Type: int

Zero on success; -1 on failure.

Meta