Interplane page as plain text, for reading tools and agents. English is the reference text: translate it with your own tool. Text in backticks and in ``` blocks (commands, fingerprints, file names) and link targets in <...> are exact: copy them, never translate them. Page: /drakestapleton/git/blob/master/copy.h # git [Ported from github.com/git/git] Sync with Git 2.56.1 Brought by drakestapleton Sign in to star 0 stars 0 watching About Files History Releases Proposed changes Issues For developers branch `master` Branches Tags History `git / copy.h` 14 lines ยท 350 bytes Raw Blame History 1 #ifndef COPY_H 2 #define COPY_H 3 4 struct repository; 5 6 #define COPY_READ_ERROR (-2) 7 #define COPY_WRITE_ERROR (-3) 8 int copy_fd(int ifd, int ofd); 9 int copy_file(struct repository *repo, 10 const char *dst, const char *src, int mode); 11 int copy_file_with_time(struct repository *repo, 12 const char *dst, const char *src, int mode); 13 14 #endif /* COPY_H */