Commit 2afce2b
feat: add SCCACHE_FILE_CLONE_COMPRESS for post-write compression
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>1 parent 7991e34 commit 2afce2b
2 files changed
Lines changed: 22 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
224 | 224 | | |
225 | 225 | | |
226 | 226 | | |
| 227 | + | |
| 228 | + | |
227 | 229 | | |
228 | 230 | | |
229 | 231 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
139 | 139 | | |
140 | 140 | | |
141 | 141 | | |
| 142 | + | |
| 143 | + | |
| 144 | + | |
| 145 | + | |
| 146 | + | |
| 147 | + | |
| 148 | + | |
| 149 | + | |
| 150 | + | |
| 151 | + | |
| 152 | + | |
| 153 | + | |
| 154 | + | |
| 155 | + | |
| 156 | + | |
| 157 | + | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
142 | 162 | | |
143 | 163 | | |
144 | 164 | | |
| |||
0 commit comments