6eb8ae00d4
This adds the structs and function declarations for parsing git objects. Signed-Off-By: Daniel Barkalow <barkalow@iabervon.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
18 lines
257 B
C
18 lines
257 B
C
#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 */
|