diff options
author | Edward Thomson <ethomson@github.com> | 2017-02-28 12:29:29 +0000 |
---|---|---|
committer | Edward Thomson <ethomson@github.com> | 2017-03-02 09:11:33 +0000 |
commit | 1c04a96b25da048221f31ecee0227d960dc00489 (patch) | |
tree | 14774879d60dec45b5610cb7ed1bae927ef2016f /src/indexer.h | |
parent | 3ac05d11493d0573dbf725a19403dbf5e8d93b50 (diff) | |
download | libgit2-ethomson/fsync.tar.gz |
Honor `core.fsyncObjectFiles`ethomson/fsync
Diffstat (limited to 'src/indexer.h')
-rw-r--r-- | src/indexer.h | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/src/indexer.h b/src/indexer.h new file mode 100644 index 000000000..702694bbf --- /dev/null +++ b/src/indexer.h @@ -0,0 +1,12 @@ +/* + * Copyright (C) the libgit2 contributors. All rights reserved. + * + * This file is part of libgit2, distributed under the GNU GPL v2 with + * a Linking Exception. For full terms see the included COPYING file. + */ +#ifndef INCLUDE_indexer_h__ +#define INCLUDE_indexer_h__ + +extern int git_indexer__set_fsync(git_indexer *idx, int do_fsync); + +#endif |