summaryrefslogtreecommitdiff
path: root/src/filebuf.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/filebuf.c')
-rw-r--r--src/filebuf.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/filebuf.c b/src/filebuf.c
index 6538aea66..876f8e3e7 100644
--- a/src/filebuf.c
+++ b/src/filebuf.c
@@ -130,6 +130,11 @@ GIT_INLINE(int) flush_buffer(git_filebuf *file)
return result;
}
+int git_filebuf_flush(git_filebuf *file)
+{
+ return flush_buffer(file);
+}
+
static int write_normal(git_filebuf *file, void *source, size_t len)
{
if (len > 0) {