summaryrefslogtreecommitdiffstats
path: root/copy.h
diff options
context:
space:
mode:
authorDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 09:21:27 +0000
committerDaniel Baumann <daniel.baumann@progress-linux.org>2024-06-17 09:21:27 +0000
commit2f06d8e5901746715dc10f8ec7c024d38e753dbf (patch)
tree735c87fa9dab6b6342621f7f6633c8dede32a391 /copy.h
parentAdding upstream version 1:2.45.1. (diff)
downloadgit-2f06d8e5901746715dc10f8ec7c024d38e753dbf.tar.xz
git-2f06d8e5901746715dc10f8ec7c024d38e753dbf.zip
Adding upstream version 1:2.45.2.upstream/1%2.45.2upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'copy.h')
-rw-r--r--copy.h14
1 files changed, 0 insertions, 14 deletions
diff --git a/copy.h b/copy.h
index 057259a..2af77cb 100644
--- a/copy.h
+++ b/copy.h
@@ -7,18 +7,4 @@ 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);
-/*
- * Compare the file mode and contents of two given files.
- *
- * If both files are actually symbolic links, the function returns 1 if the link
- * targets are identical or 0 if they are not.
- *
- * If any of the two files cannot be accessed or in case of read failures, this
- * function returns 0.
- *
- * If the file modes and contents are identical, the function returns 1,
- * otherwise it returns 0.
- */
-int do_files_match(const char *path1, const char *path2);
-
#endif /* COPY_H */