diff options
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 |