diff options
author | Joseph Hunkeler <jhunkeler@users.noreply.github.com> | 2024-08-13 17:57:24 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-08-13 17:57:24 -0400 |
commit | 683b3f78663efcff7a406d8287b78d73f18cc1f1 (patch) | |
tree | 448cd01d092db0d3c8ecbc59729e7d76cbf06b04 /include | |
parent | d943633d4d925d7340708371be8abb09adf579fe (diff) | |
download | stasis-683b3f78663efcff7a406d8287b78d73f18cc1f1.tar.gz |
Remove unused copytree() function (#27)
* Functionality was replaced by rsync long ago
Diffstat (limited to 'include')
-rw-r--r-- | include/copy.h | 18 |
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 |