aboutsummaryrefslogtreecommitdiff
path: root/include/copy.h
diff options
context:
space:
mode:
Diffstat (limited to 'include/copy.h')
-rw-r--r--include/copy.h18
1 files changed, 0 insertions, 18 deletions
diff --git a/include/copy.h b/include/copy.h
index a26ac30..0f92ddd 100644
--- a/include/copy.h
+++ b/include/copy.h
@@ -14,24 +14,6 @@
#define CT_PERM 1 << 2
/**
- * Recursively copy a directory, or a single file
- *
- * ```c
- * if (copytree("/source/path", "/destination/path", CT_PERM | CT_OWNER)) {
- * fprintf(stderr, "Unable to copy files\n");
- * exit(1);
- * }
- * ```
- *
- * @param srcdir source file or directory path
- * @param destdir destination directory
- * @param op CT_OWNER (preserve ownership)
- * @param op CT_PERM (preserve permission bits)
- * @return 0 on success, -1 on error
- */
-int copytree(const char *srcdir, const char *destdir, unsigned op);
-
-/**
* Copy a single file
*
* ```c