summaryrefslogtreecommitdiff
path: root/include/git2/indexer.h
blob: be1752027612502ae2973e52347141bf0fdd3c61 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
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