On this page:
8.18
top
up

19IndexerπŸ”— i

procedure

( git_indexer_appendidxdatasizestats)integer?

idx:indexer?
data:bytes?
size:integer?
stats:git_transfer_progress?
Add data to the indexer

procedure

( git_indexer_commitidxstats)integer?

idx:indexer?
stats:transfer_progress?
Finalize the pack and index

Resolve any pending deltas and write out the index file

procedure

( git_indexer_freeidx)void?

idx:indexer?
Free the indexer and its resources

procedure

( git_indexer_hashidx)oid?

idx:indexer?
Get 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.

procedure

( git_indexer_new path
int
odb
progress_cb
progress_cb_payload)indexer?
path:string?
int:unsigned
odb:(or/c odb?#f)
progress_cb:git_transfer_progress_cb
progress_cb_payload:bytes?
Create a new indexer instance

top
up

AltStyle γ«γ‚ˆγ£γ¦ε€‰ζ›γ•γ‚ŒγŸγƒšγƒΌγ‚Έ (->γ‚ͺγƒͺγ‚ΈγƒŠγƒ«) /