Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mono/libgit2.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVicent Martí <tanoku@gmail.com>2012-05-16 21:23:47 +0400
committerVicent Martí <tanoku@gmail.com>2012-05-16 21:24:35 +0400
commit9d0011fd83ff38561e75667451d2b6a55320d7d4 (patch)
treed4e474398f44161e75c80f1cfa4c98a983a92fb4 /src/tree.h
parenteb270884627a87a5392c0aa9c9d286877aba9f91 (diff)
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