summaryrefslogtreecommitdiff
path: root/src/tree.h
diff options
context:
space:
mode:
authorPatrick Steinhardt <ps@pks.im>2018-06-15 13:21:59 +0200
committerPatrick Steinhardt <ps@pks.im>2018-06-15 13:21:59 +0200
commitf0a1d76a51cff3070e9ec5e00db21fc5903d65e0 (patch)
tree2257b85e896758c89bd5c5edac24687edf147e5a /src/tree.h
parent31f6b5297f39ddaab43b3a8b5729fa99b0cb9b62 (diff)
downloadlibgit2-f0a1d76a51cff3070e9ec5e00db21fc5903d65e0.tar.gz
tree: remove unused function `git_tree__prefix_position`
Diffstat (limited to 'src/tree.h')
-rw-r--r--src/tree.h10
1 files changed, 0 insertions, 10 deletions
diff --git a/src/tree.h b/src/tree.h
index 25b208a64..fbee5efe1 100644
--- a/src/tree.h
+++ b/src/tree.h
@@ -43,16 +43,6 @@ void git_tree__free(void *tree);
int git_tree__parse(void *tree, git_odb_object *obj);
/**
- * Lookup the first position in the tree with a given prefix.
- *
- * @param tree a previously loaded tree.
- * @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__prefix_position(const git_tree *tree, const char *prefix);
-
-
-/**
* Write a tree to the given repository
*/
int git_tree__write_index(