git_midx_writer_new

Create a new writer for multi-pack-index files.

extern (C) nothrow @nogc
int
git_midx_writer_new

Parameters

out_ libgit2.types.git_midx_writer**

location to store the writer pointer.

pack_dir const(char)*

the directory where the .pack and .idx files are. The multi-pack-index file will be written in this directory, too.

Return Value

Type: int

0 or an error code

Meta