-
-
Notifications
You must be signed in to change notification settings - Fork 241
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Optimize the handling of binary items
When writing large binary items (e.g. audio or video files), creating a hard link pointing to the original avoids duplicating the data on disk. This is specially useful for large binary items. Hard linking will fail when the source file is not on the same device as the output directory (e.g. when /tmp is a tmpfs). In that case, fallback to the previous behavior of copying, what does duplicate the space, but should always work.
- Loading branch information
Showing
2 changed files
with
17 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
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