summaryrefslogtreecommitdiff
path: root/src/tree-cache.h
diff options
context:
space:
mode:
authorCarlos Martín Nieto <cmn@elego.de>2011-08-02 15:27:42 +0200
committerVicent Marti <tanoku@gmail.com>2011-09-27 14:33:18 +0200
commit3ba69ba8a469deee81ab718ecc04551c17b9615d (patch)
tree9c9db0631581160bcb703d0a5643394c3a7b99b4 /src/tree-cache.h
parentb419fe2d8cd536e596a4e0ea2eac221fbc2f59a1 (diff)
downloadlibgit2-3ba69ba8a469deee81ab718ecc04551c17b9615d.tar.gz
Add git_tree_cache_get
Signed-off-by: Carlos Martín Nieto <cmn@elego.de>
Diffstat (limited to 'src/tree-cache.h')
-rw-r--r--src/tree-cache.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/tree-cache.h b/src/tree-cache.h
index 450b03803..0d9329157 100644
--- a/src/tree-cache.h
+++ b/src/tree-cache.h
@@ -25,6 +25,7 @@ typedef struct git_tree_cache git_tree_cache;
int git_tree_cache_read(git_tree_cache **tree, const char *buffer, size_t buffer_size);
void git_tree_cache_invalidate_path(git_tree_cache *tree, const char *path);
+const git_tree_cache *git_tree_cache_get(const git_tree_cache *tree, const char *path);
void git_tree_cache_free(git_tree_cache *tree);
#endif