libgit2

indexer

Version:

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.

Objects

A git indexer object

Structs

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

Macros

Callbacks

Type for progress callbacks during indexing than zero to cancel the indexing or download.

Functions

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