repository: introduce raw object store field
[git/git.git] / object-store.h
CommitLineData
90c62155
SB
1#ifndef OBJECT_STORE_H
2#define OBJECT_STORE_H
3
4struct raw_object_store {
5 /*
6 * Path to the repository's object store.
7 * Cannot be NULL after initialization.
8 */
9 char *objectdir;
10
11 /* Path to extra alternate object database if not NULL */
12 char *alternate_db;
13};
14
15struct raw_object_store *raw_object_store_new(void);
16void raw_object_store_clear(struct raw_object_store *o);
17
18#endif /* OBJECT_STORE_H */