copy.h: move declarations for copy.c functions from cache.h
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
This commit is contained in:

committed by
Junio C Hamano

parent
623b80bef2
commit
d5fff46f40
10
copy.h
Normal file
10
copy.h
Normal file
@ -0,0 +1,10 @@
|
||||
#ifndef COPY_H
|
||||
#define COPY_H
|
||||
|
||||
#define COPY_READ_ERROR (-2)
|
||||
#define COPY_WRITE_ERROR (-3)
|
||||
int copy_fd(int ifd, int ofd);
|
||||
int copy_file(const char *dst, const char *src, int mode);
|
||||
int copy_file_with_time(const char *dst, const char *src, int mode);
|
||||
|
||||
#endif /* COPY_H */
|
Reference in New Issue
Block a user