rust-lang / git2-rs

libgit2 bindings for Rust
https://docs.rs/git2
Apache License 2.0
1.67k stars 384 forks source link

Add bindings to git_indexer #911

Closed kim closed 1 year ago

kim commented 1 year ago

The indexer API is a lower-level interface for storing and indexing pack files, which, unlike git_odb_write_pack, allows the ouput to be written to an arbitrary directory. This can be useful when working with unusual validation requirements or non-standard repository layouts.

kim commented 1 year ago

Sorry the test does not actually make sense, will amend

kim commented 1 year ago

Amended to make odb optional

kim commented 1 year ago

@ehuss any feedback on this?