-
-
Notifications
You must be signed in to change notification settings - Fork 1.4k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
data: support sparse copy across volumes
Use copyfile(3) with COPYFILE_DATA_SPARSE flag which attempts to preserve sparseness when copying across different volumes, which FileManger.copyItem(at:, to:) doesn't. Cloning behaviour from FileManger.copyItem(at:, to:) is preserved with the COPYFILE_CLONE flag.
- Loading branch information
1 parent
53902a3
commit 95a9eb1
Showing
1 changed file
with
11 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters