diff options
| author | Vicent Marti <tanoku@gmail.com> | 2011-03-23 18:44:53 +0200 |
|---|---|---|
| committer | Vicent Marti <tanoku@gmail.com> | 2011-03-23 18:44:53 +0200 |
| commit | f6f72d7ef8091bf1fcf19f284e1db62a43f93381 (patch) | |
| tree | 24b7f1fa9bc18ab2bce72e337c3b7f6ca3b51e51 /src/fileops.h | |
| parent | 08db1efd3d64bda358071612ff3662f4bf1aea61 (diff) | |
| download | libgit2-f6f72d7ef8091bf1fcf19f284e1db62a43f93381.tar.gz | |
Improve the ODB writing backend
Temporary files when doing streaming writes are now stored inside the
Objects folder, to prevent issues when moving files between
disks/partitions.
Add support for block writes to the ODB again (for those backends that
cannot implement streaming).
Diffstat (limited to 'src/fileops.h')
| -rw-r--r-- | src/fileops.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/fileops.h b/src/fileops.h index ce236f608..6e0fd9d14 100644 --- a/src/fileops.h +++ b/src/fileops.h @@ -58,7 +58,7 @@ extern int gitfo_exists(const char *path); extern int gitfo_open(const char *path, int flags); extern int gitfo_creat(const char *path, int mode); extern int gitfo_creat_force(const char *path, int mode); -extern int gitfo_creat_tmp(char *path_out, const char *filename); +extern int gitfo_mktemp(char *path_out, const char *filename); extern int gitfo_isdir(const char *path); extern int gitfo_mkdir_recurs(const char *path, int mode); extern int gitfo_mkdir_2file(const char *path); |
