Commit 7131be0
committed
cmd-prune: prune blob refs from tmp repo
We now keep blob refs in the tmp repo to make importing OCI images more
efficient by avoiding having to re-import identical layers.
But then we also need to prune them. Do this.
The semantic here is simple: we prune any blob ref not tied to one of
the kept builds.1 parent ec45445 commit 7131be0
1 file changed
Lines changed: 20 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
183 | 183 | | |
184 | 184 | | |
185 | 185 | | |
| 186 | + | |
| 187 | + | |
| 188 | + | |
| 189 | + | |
| 190 | + | |
| 191 | + | |
| 192 | + | |
| 193 | + | |
| 194 | + | |
| 195 | + | |
| 196 | + | |
| 197 | + | |
| 198 | + | |
| 199 | + | |
| 200 | + | |
| 201 | + | |
| 202 | + | |
| 203 | + | |
| 204 | + | |
| 205 | + | |
186 | 206 | | |
187 | 207 | | |
0 commit comments