summaryrefslogtreecommitdiff
path: root/src/fileops.h
diff options
context:
space:
mode:
authorRamsay Jones <ramsay@ramsay1.demon.co.uk>2009-06-04 16:46:54 +0100
committerAndreas Ericsson <ae@op5.se>2009-06-05 10:21:52 +0200
commitca481fc4f12cec56b71bd50ae72e3f088b69021f (patch)
treed0fdf2dcff2f548952eec536ccc6d266550041bc /src/fileops.h
parent4319860c60d84ec2513be34ee1a65dec5eceb6c4 (diff)
downloadlibgit2-ca481fc4f12cec56b71bd50ae72e3f088b69021f.tar.gz
Add the git_move_file() function
Signed-off-by: Ramsay Jones <ramsay@ramsay1.demon.co.uk> Signed-off-by: Andreas Ericsson <ae@op5.se>
Diffstat (limited to 'src/fileops.h')
-rw-r--r--src/fileops.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/fileops.h b/src/fileops.h
index 568464205..175396917 100644
--- a/src/fileops.h
+++ b/src/fileops.h
@@ -69,6 +69,7 @@ extern off_t gitfo_size(git_file fd);
extern int gitfo_read_file(gitfo_buf *obj, const char *path);
extern void gitfo_free_buf(gitfo_buf *obj);
+extern int gitfo_move_file(char *from, char *to);
#define gitfo_unlink(p) unlink(p)
#define gitfo_rmdir(p) rmdir(p)