Hash :
d8603ed9
Author :
Date :
2010-07-10T16:51:15
#ifndef INCLUDE_tree_h__
#define INCLUDE_tree_h__
#include <git/tree.h>
#include "revobject.h"
struct git_tree_entry {
unsigned int attr;
char *filename;
git_oid oid;
struct git_tree_entry *next;
};
typedef struct git_tree_entry git_tree_entry;
struct git_tree {
git_revpool_object object;
size_t byte_size;
git_tree_entry *entries;
unsigned int entry_count;
};
void git_tree__free(git_tree *tree);
int git_tree__parse(git_tree *tree);
#endif