]> git.ipfire.org Git - thirdparty/systemd.git/blobdiff - src/shared/copy.h
Merge pull request #27882 from DaanDeMeyer/repart-truncate
[thirdparty/systemd.git] / src / shared / copy.h
index 9a0df9f4f5328265f104433698b96f2778024205..da084b66f299e8925499a928c6bf31300c8960a1 100644 (file)
@@ -28,6 +28,7 @@ typedef enum CopyFlags {
         COPY_ALL_XATTRS    = 1 << 13, /* Preserve all xattrs when copying, not just those in the user namespace */
         COPY_HOLES         = 1 << 14, /* Copy holes */
         COPY_GRACEFUL_WARN = 1 << 15, /* Skip copying file types that aren't supported by the target filesystem */
+        COPY_TRUNCATE      = 1 << 16, /* Truncate to current file offset after copying */
 } CopyFlags;
 
 typedef enum DenyType {