[PATCH] Header files for object parsing
[git/git.git] / tree.h
1 #ifndef TREE_H
2 #define TREE_H
3
4 #include "object.h"
5
6 extern const char *tree_type;
7
8 struct tree {
9 struct object object;
10 unsigned has_full_path : 1;
11 };
12
13 struct tree *lookup_tree(unsigned char *sha1);
14
15 int parse_tree(struct tree *tree);
16
17 #endif /* TREE_H */