Git::Raw::Indexer(3pm)

Git::Raw::Indexer3pm

Git indexer class

Version

version 0.90

Overview

A Git::Raw::Indexer represents a git indexer object.

Methods

new( $directory, $odb )

Create a new indexer. $directory is the directory where the packfile and index should be stored.

append( $data, $progress )

Add $data to the indexer. $progress should be a Git::Raw::TransferProgress object.

commit( $progress )

Finalize the pack and index. This will resolve any pending deltas and write out the index file. $progress should be a Git::Raw::TransferProgress object.

hash( )

Retrieve the packfile's hash. A packfile's name is derived from the sorted hashing of all object names. This is only correct after the index has been finalized.

Releases

4 releases since Debian 10 (Buster); the text changed 3 times.

  1. 10
  2. 11
  3. 12
  4. 13

Author

Jacques Germishuys <[email protected]>

From libgit-raw-perl 0.90+ds-3+b1 in Debian 13 (Trixie). Parsed by carta from the page's man source.