libgit2.sys.midx

Members

Functions

git_midx_writer_add
int git_midx_writer_add(libgit2.types.git_midx_writer* w, const(char)* idx_path)

Add an .idx file to the writer.

git_midx_writer_commit
int git_midx_writer_commit(libgit2.types.git_midx_writer* w)

Write a multi-pack-index file to a file.

git_midx_writer_dump
int git_midx_writer_dump(libgit2.buffer.git_buf* midx, libgit2.types.git_midx_writer* w)

Dump the contents of the multi-pack-index to an in-memory buffer.

git_midx_writer_free
void git_midx_writer_free(libgit2.types.git_midx_writer* w)

Free the multi-pack-index writer and its resources.

git_midx_writer_new
int git_midx_writer_new(libgit2.types.git_midx_writer** out_, const(char)* pack_dir)

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

Meta

License

GPL-2.0(Linking Exception)