[6/9] feat: add SCCACHE_FILE_CLONE_COMPRESS for post-write compression#9
Open
mmastrac wants to merge 1 commit intovercel/file-clone-reflinkfrom
Open
[6/9] feat: add SCCACHE_FILE_CLONE_COMPRESS for post-write compression#9mmastrac wants to merge 1 commit intovercel/file-clone-reflinkfrom
mmastrac wants to merge 1 commit intovercel/file-clone-reflinkfrom
Conversation
b668492 to
c779b68
Compare
e49e0d7 to
52be489
Compare
226e9df to
c3ebfff
Compare
4801769 to
7991e34
Compare
2afce2b to
f12d053
Compare
7991e34 to
82cae86
Compare
f12d053 to
136498c
Compare
822f6cc to
5055c36
Compare
136498c to
4be87c8
Compare
5055c36 to
614ab48
Compare
0106a7d to
ddb7117
Compare
3b1c8b7 to
c2dfa44
Compare
ddb7117 to
eed7dde
Compare
When SCCACHE_FILE_CLONE=true, users can set SCCACHE_FILE_CLONE_COMPRESS to a command that will be spawned on each cache entry directory after writing. The entry directory path is appended to the command. Example: SCCACHE_FILE_CLONE_COMPRESS="applesauce compress -c lzfse" applies APFS transparent compression on macOS, reducing cache disk usage while keeping files transparently readable and reflink-capable. The command runs in the background and failures are silently ignored. Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
eed7dde to
f7e3b82
Compare
c2dfa44 to
67072e8
Compare
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
SCCACHE_FILE_CLONE_COMPRESSspecifies a command to run on each cache entry directory after writing (whenSCCACHE_FILE_CLONE=true)shlexfor proper quoting supportSCCACHE_FILE_CLONE_COMPRESS="applesauce compress -c lzfse"applies APFS transparent compression on macOSStack: 6/8