summaryrefslogtreecommitdiff
path: root/src/tree.h
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-05-16 19:23:47 +0200
committerVicent Martí <tanoku@gmail.com>2012-05-16 19:24:35 +0200
commit9d0011fd83ff38561e75667451d2b6a55320d7d4 (patch)
treed4e474398f44161e75c80f1cfa4c98a983a92fb4 /src/tree.h
parenteb270884627a87a5392c0aa9c9d286877aba9f91 (diff)
downloadlibgit2-9d0011fd83ff38561e75667451d2b6a55320d7d4.tar.gz
tree: Naming conventions
Diffstat (limited to 'src/tree.h')
-rw-r--r--src/tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/tree.h b/src/tree.h
index a5b7f6323..498a90d66 100644
--- a/src/tree.h
+++ b/src/tree.h
@@ -30,7 +30,7 @@ struct git_treebuilder {
};
-GIT_INLINE(unsigned int) entry_is_tree(const struct git_tree_entry *e)
+GIT_INLINE(bool) git_tree_entry__is_tree(const struct git_tree_entry *e)
{
return (S_ISDIR(e->attr) && !S_ISGITLINK(e->attr));
}
@@ -45,7 +45,7 @@ int git_tree__parse(git_tree *tree, git_odb_object *obj);
* @param prefix the beginning of a path to find in the tree.
* @return index of the first item at or after the given prefix.
*/
-int git_tree_entry_prefix_position(git_tree *tree, const char *prefix);
+int git_tree__prefix_position(git_tree *tree, const char *prefix);
#endif