mirror of
https://github.com/project-zot/zot.git
synced 2025-02-03 23:09:41 -05:00
324a517ea3
We perform inline garbage collection of orphan blobs. However, the dist-spec poses a problem because blobs begin their life as orphan blobs and then a manifest is add which refers to these blobs. We use umoci's GC() to perform garbage collection and policy support has been added recently which can control whether a blob can be skipped for GC. In this patch, we use a time-based policy to skip blobs. |
||
---|---|---|
.. | ||
BUILD.bazel | ||
cache.go | ||
cache_test.go | ||
storage.go | ||
storage_test.go |