git_commit_graph_writer_add_index_file

Add an .idx file (associated to a packfile) to the writer.

extern (C) nothrow @nogc
int
git_commit_graph_writer_add_index_file

Parameters

w libgit2.types.git_commit_graph_writer*

The writer.

repo libgit2.types.git_repository*

The repository that owns the .idx file.

idx_path const(char)*

The path of an .idx file.

Return Value

Type: int

0 or an error code

Meta