#include "git-compat-util.h" #include "copy.h" #include "path.h" #include "gettext.h" #include "strbuf.h" #include "abspath.h" int copy_fd(int ifd, int ofd) { … } static int copy_times(const char *dst, const char *src) { … } int copy_file(const char *dst, const char *src, int mode) { … } int copy_file_with_time(const char *dst, const char *src, int mode) { … }