#define REPOSITORY_H
struct config_set;
+struct git_hash_algo;
struct index_state;
+struct raw_object_store;
struct submodule_cache;
-struct git_hash_algo;
struct repository {
/* Environment */
char *commondir;
/*
- * Path to the repository's object store.
- * Cannot be NULL after initialization.
+ * Holds any information related to accessing the raw object content.
*/
- char *objectdir;
+ struct raw_object_store *objects;
- /* Path to extra alternate object database if not NULL */
- char *alternate_db;
+ /* The store in which the refs are held. */
+ struct ref_store *refs;
/*
* Path to the repository's graft file.