diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-07-07 11:47:31 +0200 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-08-02 21:41:02 +0200 |
commit | 3412391d4ccf6435b981c46e796cc6988a676fad (patch) | |
tree | 11695d4accdc2c7f48351b0731e9c3f250e21f3c /include/git2/indexer.h | |
parent | c7c9e18388b6e11265c867766d4c001197852134 (diff) | |
download | libgit2-3412391d4ccf6435b981c46e796cc6988a676fad.tar.gz |
Intial indexer code
Diffstat (limited to 'include/git2/indexer.h')
-rw-r--r-- | include/git2/indexer.h | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/include/git2/indexer.h b/include/git2/indexer.h new file mode 100644 index 000000000..be1752027 --- /dev/null +++ b/include/git2/indexer.h @@ -0,0 +1,15 @@ +#ifndef _INCLUDE_git_indexer_h__ +#define _INCLUDE_git_indexer_h__ + +typedef struct git_pack_indexer { + struct pack_file *pack; + git_vector objects; + git_vector deltas; + struct stat st; +} git_pack_indexer; + +GIT_EXTERN(int) git_pack_indexer_new(git_pack_indexer **out, const char *packname); +GIT_EXTERN(void) git_pack_indexer_free(git_pack_indexer *idx) + + +#endif |