summaryrefslogtreecommitdiff
path: root/src/filebuf.h
diff options
context:
space:
mode:
authornulltoken <emeric.fermas@gmail.com>2012-05-27 19:54:53 +0200
committernulltoken <emeric.fermas@gmail.com>2012-05-27 19:54:53 +0200
commit9bea8e85908d4c4a788766d50a91be79829c016c (patch)
tree30e7bc3cf58f707b12361a3fef3a37fe0082a058 /src/filebuf.h
parent4c977a61e598f2230e9902aa80cfea8e89d94f88 (diff)
downloadlibgit2-9bea8e85908d4c4a788766d50a91be79829c016c.tar.gz
filebuf: add git_filebuf_flush()
Diffstat (limited to 'src/filebuf.h')
-rw-r--r--src/filebuf.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/filebuf.h b/src/filebuf.h
index 72563b57a..377883147 100644
--- a/src/filebuf.h
+++ b/src/filebuf.h
@@ -81,5 +81,6 @@ int git_filebuf_commit(git_filebuf *lock, mode_t mode);
int git_filebuf_commit_at(git_filebuf *lock, const char *path, mode_t mode);
void git_filebuf_cleanup(git_filebuf *lock);
int git_filebuf_hash(git_oid *oid, git_filebuf *file);
+int git_filebuf_flush(git_filebuf *file);
#endif