git_indexer_new

Create a new indexer instance

extern (C) nothrow @nogc
int
git_indexer_new

Parameters

out_ .git_indexer**

where to store the indexer instance

path const(char)*

to the directory where the packfile should be stored

mode uint

permissions to use creating packfile or 0 for defaults

odb libgit2_d.types.git_odb*

object database from which to read base objects when fixing thin packs. Pass null if no thin pack is expected (an error will be returned if there are bases missing)

opts .git_indexer_options*

Optional structure containing additional options. See git_indexer_options above.

Meta