summaryrefslogtreecommitdiff
path: root/include/git2
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-08-21 11:45:16 +0200
committernulltoken <emeric.fermas@gmail.com>2012-08-21 23:15:13 +0200
commit9d7ac675d06dab2e000ad32f9248631af0191f85 (patch)
tree9e32cfadd2e1ffaa05f72dd5871551180ee0afb9 /include/git2
parenta7dbac0b2372f9dd1af01ae058ec764d3979991f (diff)
downloadlibgit2-9d7ac675d06dab2e000ad32f9248631af0191f85.tar.gz
tree entry: rename git_tree_entry_attributes() into git_tree_entry_filemode()
Diffstat (limited to 'include/git2')
-rw-r--r--include/git2/tree.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/include/git2/tree.h b/include/git2/tree.h
index 9b61e7d91..e5261417c 100644
--- a/include/git2/tree.h
+++ b/include/git2/tree.h
@@ -143,9 +143,9 @@ GIT_EXTERN(const git_tree_entry *) git_tree_entry_byoid(git_tree *tree, const gi
* Get the UNIX file attributes of a tree entry
*
* @param entry a tree entry
- * @return attributes as an integer
+ * @return filemode as an integer
*/
-GIT_EXTERN(unsigned int) git_tree_entry_attributes(const git_tree_entry *entry);
+GIT_EXTERN(git_filemode_t) git_tree_entry_filemode(const git_tree_entry *entry);
/**
* Get the filename of a tree entry