Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'src/pack.h')
-rw-r--r--src/pack.h11
1 files changed, 10 insertions, 1 deletions
diff --git a/src/pack.h b/src/pack.h
index 28146ab30..610e70c18 100644
--- a/src/pack.h
+++ b/src/pack.h
@@ -17,6 +17,7 @@
#include "mwindow.h"
#include "odb.h"
#include "oidmap.h"
+#include "array.h"
#define GIT_PACK_FILE_MODE 0444
@@ -60,6 +61,15 @@ typedef struct git_pack_cache_entry {
git_rawobj raw;
} git_pack_cache_entry;
+struct pack_chain_elem {
+ git_off_t base_key;
+ git_off_t offset;
+ size_t size;
+ git_otype type;
+};
+
+typedef git_array_t(struct pack_chain_elem) git_dependency_chain;
+
#include "offmap.h"
GIT__USE_OFFMAP;
@@ -88,7 +98,6 @@ struct git_pack_file {
int index_version;
git_time_t mtime;
unsigned pack_local:1, pack_keep:1, has_cache:1;
- git_oid sha1;
git_oidmap *idx_cache;
git_oid **oids;