libgit2_d.indexer

Undocumented in source.

Members

Aliases

git_indexer_progress_cb
alias git_indexer_progress_cb = int function(const(.git_indexer_progress)* stats, void* payload)

Type for progress callbacks during indexing. Return a value less than zero to cancel the indexing or download.

Functions

GIT_INDEXER_OPTIONS_INIT
GIT_INDEXER_OPTIONS_INIT()
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.
git_indexer_append
int git_indexer_append(.git_indexer* idx, const(void)* data, size_t size, .git_indexer_progress* stats)

Add data to the indexer

git_indexer_commit
int git_indexer_commit(.git_indexer* idx, .git_indexer_progress* stats)

Finalize the pack and index

git_indexer_free
void git_indexer_free(.git_indexer* idx)

Free the indexer and its resources

git_indexer_hash
const(libgit2_d.oid.git_oid)* git_indexer_hash(const(.git_indexer)* idx)

Get the packfile's hash

git_indexer_new
int git_indexer_new(.git_indexer** out_, const(char)* path, uint mode, libgit2_d.types.git_odb* odb, .git_indexer_options* opts)

Create a new indexer instance

git_indexer_options_init
int git_indexer_options_init(.git_indexer_options* opts, uint version_)

Initializes a git_indexer_options with default values. Equivalent to creating an instance with GIT_INDEXER_OPTIONS_INIT.

Manifest constants

GIT_INDEXER_OPTIONS_VERSION
enum GIT_INDEXER_OPTIONS_VERSION;
Undocumented in source but is binding to C. You might be able to learn more by searching the web for its name.

Structs

git_indexer
struct git_indexer

A git indexer object

git_indexer_options
struct git_indexer_options

Options for indexer configuration

git_indexer_progress
struct git_indexer_progress

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.

Meta