git/copy.h

#ifndef COPY_H
#define COPY_H

#define COPY_READ_ERROR
#define COPY_WRITE_ERROR
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 */