diff options
author | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-11-07 19:34:24 +0100 |
---|---|---|
committer | Carlos Martín Nieto <carlos@cmartin.tk> | 2011-11-07 20:34:27 +0100 |
commit | 0c49ec2d3b5bfc32d69d189b7dc69cc26beb6a92 (patch) | |
tree | 86fe3204cfbe9b2a09fcd4d22b1ddf24f51e7269 /src/posix.h | |
parent | 38068dc1d3cf4a0f0dc2ce8c488a1de4621c04b5 (diff) | |
download | libgit2-0c49ec2d3b5bfc32d69d189b7dc69cc26beb6a92.tar.gz |
Implement p_rename
Move the callers of git_futils_mv_atomic to use p_rename.
Signed-off-by: Carlos Martín Nieto <carlos@cmartin.tk>
Diffstat (limited to 'src/posix.h')
-rw-r--r-- | src/posix.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/posix.h b/src/posix.h index 55cd35a38..c12b41364 100644 --- a/src/posix.h +++ b/src/posix.h @@ -45,6 +45,7 @@ extern int p_write(git_file fd, const void *buf, size_t cnt); extern int p_open(const char *path, int flags); extern int p_creat(const char *path, mode_t mode); extern int p_getcwd(char *buffer_out, size_t size); +extern int p_rename(const char *from, const char *to); #ifndef GIT_WIN32 |