]>
git.proxmox.com Git - libgit2.git/blob - src/tree.h
2 * Copyright (C) 2009-2012 the libgit2 contributors
4 * This file is part of libgit2, distributed under the GNU GPL v2 with
5 * a Linking Exception. For full terms see the included COPYING file.
7 #ifndef INCLUDE_tree_h__
8 #define INCLUDE_tree_h__
10 #include "git2/tree.h"
11 #include "repository.h"
15 struct git_tree_entry
{
28 struct git_treebuilder
{
33 GIT_INLINE(unsigned int) entry_is_tree(const struct git_tree_entry
*e
)
35 return e
->attr
& 040000;
38 void git_tree__free(git_tree
*tree
);
39 int git_tree__parse(git_tree
*tree
, git_odb_object
*obj
);