diff options
| author | Edward Thomson <ethomson@microsoft.com> | 2013-11-04 18:28:57 -0500 |
|---|---|---|
| committer | Edward Thomson <ethomson@microsoft.com> | 2013-11-04 22:33:05 -0500 |
| commit | 1d3a8aeb4bd032d0bf34039fbcb308fba06b862a (patch) | |
| tree | 8e9165cfd8c4c3919abd2d4f301b1f45e281d5eb /src/filebuf.h | |
| parent | f966acd13366d21e0b9beeecf021c0114596c716 (diff) | |
| download | libgit2-1d3a8aeb4bd032d0bf34039fbcb308fba06b862a.tar.gz | |
move mode_t to filebuf_open instead of _commit
Diffstat (limited to 'src/filebuf.h')
| -rw-r--r-- | src/filebuf.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/filebuf.h b/src/filebuf.h index 823af81bf..044af5405 100644 --- a/src/filebuf.h +++ b/src/filebuf.h @@ -77,9 +77,9 @@ int git_filebuf_write(git_filebuf *lock, const void *buff, size_t len); int git_filebuf_reserve(git_filebuf *file, void **buff, size_t len); int git_filebuf_printf(git_filebuf *file, const char *format, ...) GIT_FORMAT_PRINTF(2, 3); -int git_filebuf_open(git_filebuf *lock, const char *path, int flags); -int git_filebuf_commit(git_filebuf *lock, mode_t mode); -int git_filebuf_commit_at(git_filebuf *lock, const char *path, mode_t mode); +int git_filebuf_open(git_filebuf *lock, const char *path, int flags, mode_t mode); +int git_filebuf_commit(git_filebuf *lock); +int git_filebuf_commit_at(git_filebuf *lock, const char *path); void git_filebuf_cleanup(git_filebuf *lock); int git_filebuf_hash(git_oid *oid, git_filebuf *file); int git_filebuf_flush(git_filebuf *file); |
