diff options
author | nulltoken <emeric.fermas@gmail.com> | 2012-05-27 21:54:53 +0400 |
---|---|---|
committer | nulltoken <emeric.fermas@gmail.com> | 2012-05-27 21:54:53 +0400 |
commit | 9bea8e85908d4c4a788766d50a91be79829c016c (patch) | |
tree | 30e7bc3cf58f707b12361a3fef3a37fe0082a058 /src/filebuf.c | |
parent | 4c977a61e598f2230e9902aa80cfea8e89d94f88 (diff) |
filebuf: add git_filebuf_flush()
Diffstat (limited to 'src/filebuf.c')
-rw-r--r-- | src/filebuf.c | 5 |
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) { |