diff options
author | Lennart Poettering <lennart@poettering.net> | 2014-12-12 03:15:58 +0100 |
---|---|---|
committer | Lennart Poettering <lennart@poettering.net> | 2014-12-12 13:35:32 +0100 |
commit | d7c7c334f56edab8cfc102b657366277a65738cf (patch) | |
tree | 1f979d8cf1fb749c82522a004dc838bba729184b /src/shared/copy.h | |
parent | 700c6087eb58de7af510f747414ea97b07e08b2b (diff) |
shared: add new btrfs-util.[ch] helpers for doing common btrfs operation
Diffstat (limited to 'src/shared/copy.h')
-rw-r--r-- | src/shared/copy.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/src/shared/copy.h b/src/shared/copy.h index 62932112af..15faf548a1 100644 --- a/src/shared/copy.h +++ b/src/shared/copy.h @@ -27,4 +27,5 @@ int copy_file_fd(const char *from, int to); int copy_file(const char *from, const char *to, int flags, mode_t mode); int copy_tree(const char *from, const char *to, bool merge); +int copy_tree_fd(int dirfd, const char *to, bool merge); int copy_bytes(int fdf, int fdt, off_t max_bytes); |