mirror of
https://github.com/git/git
synced 2024-10-29 17:08:46 +00:00
d5fff46f40
Signed-off-by: Elijah Newren <newren@gmail.com> Signed-off-by: Junio C Hamano <gitster@pobox.com>
10 lines
270 B
C
10 lines
270 B
C
#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 */
|