summaryrefslogtreecommitdiff
path: root/src/blob.h
diff options
context:
space:
mode:
authorBen Straub <bs@github.com>2013-08-08 08:53:37 -0700
committerBen Straub <bs@github.com>2013-08-08 08:53:37 -0700
commitbf145a6a2f08add441f55387e5ae7daef58187ae (patch)
treeb191401ba86062de136d435d92b40239faf5cb09 /src/blob.h
parent46c37911155a01db13185a70d34383b7d7133653 (diff)
parente8242022bc409b3cb7e234eabdd9bda05ae3a158 (diff)
downloadlibgit2-bf145a6a2f08add441f55387e5ae7daef58187ae.tar.gz
Merge pull request #1746 from libgit2/rename-detection-performance
Rename detection slow
Diffstat (limited to 'src/blob.h')
-rw-r--r--src/blob.h9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/blob.h b/src/blob.h
index 22e37cc3a..4cd9f1e0c 100644
--- a/src/blob.h
+++ b/src/blob.h
@@ -21,4 +21,13 @@ void git_blob__free(void *blob);
int git_blob__parse(void *blob, git_odb_object *obj);
int git_blob__getbuf(git_buf *buffer, git_blob *blob);
+extern int git_blob__create_from_paths(
+ git_oid *out_oid,
+ struct stat *out_st,
+ git_repository *repo,
+ const char *full_path,
+ const char *hint_path,
+ mode_t hint_mode,
+ bool apply_filters);
+
#endif