repo.or.cz
/
git
/
gitweb.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Move "read_tree()" to "tree.c" to be used as a generic helper function.
[git/gitweb.git]
/
tree.h
blob
4d5496de307999f5ada8412259e0e86d2c8092de
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 */