From 6eb8ae00d4bceaf660a07d8bc5ab8d6ddccbe1af Mon Sep 17 00:00:00 2001 From: Daniel Barkalow Date: Mon, 18 Apr 2005 11:39:48 -0700 Subject: [PATCH] Header files for object parsing This adds the structs and function declarations for parsing git objects. Signed-Off-By: Daniel Barkalow Signed-off-by: Linus Torvalds --- tree.h | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 tree.h (limited to 'tree.h') diff --git a/tree.h b/tree.h new file mode 100644 index 0000000000..4d5496de30 --- /dev/null +++ b/tree.h @@ -0,0 +1,17 @@ +#ifndef TREE_H +#define TREE_H + +#include "object.h" + +extern const char *tree_type; + +struct tree { + struct object object; + unsigned has_full_path : 1; +}; + +struct tree *lookup_tree(unsigned char *sha1); + +int parse_tree(struct tree *tree); + +#endif /* TREE_H */ -- cgit v1.2.3