Indexing is the operation of taking a packfile - which is simply a collection of unordered commits - and producing an "index" so that one can lookup a commit in the packfile by object ID.
A git indexer object
This structure is used to provide callers information about the progress of indexing a packfile, either directly or part of a fetch or clone that downloads a packfile
Options for indexer configuration
Current version for the git_indexer_options
structure
Static constructor for git_indexer_options
Type for progress callbacks during indexing than zero to cancel the indexing or download.
Initializes a git_indexer_options
with default values creating an instance with GIT_INDEXER_OPTIONS_INIT.
Create a new indexer instance
Add data to the indexer
Finalize the pack and index
Get the packfile's hash
Get the unique name for the resulting packfile
Free the indexer and its resources