libgit2/libgit2 — Issue #552: Feature request: odb management API
Author: chobie
Created: 2012-02-06 04:28:13+00:00
State: open

priority: low

git_odb does not have management API right now. it is useful for binding.
As those API provides enough information for odb. e.g) what kind of backend do they have.

git_odb management API draft.

````
cont git_backend *git_odb_backend_byindex(git_odb *odb, unsigned int idx)
unsigned int git_odb_backend_entrycount(git_odb *odb)
int git_odb_backend_foreach(git_odb *odb, callback, void *payload)
int git_odb_backend_remove(git_odb *odb, unsigned int idx)
void git_odb_backend_clear(git_odb *odb)
````

i can represent git_odb as binding specific object if those API were available.

Actually, i'm not sure libgit2 internal. so please suggest me what is the good solution for this.