diff options
| author | nsfisis <nsfisis@gmail.com> | 2026-05-05 13:12:56 +0900 |
|---|---|---|
| committer | nsfisis <nsfisis@gmail.com> | 2026-05-05 13:12:56 +0900 |
| commit | a10adb3b9ff3e1fe7ae0b8dc6440f171dde5f0ab (patch) | |
| tree | 5dde666652768c4cbf3294e2ce17d78daa18b0c2 /.gitmodules | |
| parent | 78a627f9b839e902faec6e5f7fee4ec19fc0e4b8 (diff) | |
| download | php-mozart-a10adb3b9ff3e1fe7ae0b8dc6440f171dde5f0ab.tar.gz php-mozart-a10adb3b9ff3e1fe7ae0b8dc6440f171dde5f0ab.tar.zst php-mozart-a10adb3b9ff3e1fe7ae0b8dc6440f171dde5f0ab.zip | |
feat(cache): include cache-vcs-dir in clear-cache command
Composer's clear-cache deletes cache-vcs-dir alongside repo/files
caches, and GCs it via gcVcsCache (TTL-based, top-level subdir
deletion, no size cap). Mozart was silently leaving VCS mirrors
on disk forever — every clear-cache run grew the cache monotonically.
Add cache_vcs_dir to CacheConfig (default {cache-dir}/vcs, env
override COMPOSER_CACHE_VCS_DIR), wire it into clear-cache, and
add Cache::gc_vcs mirroring Composer's gcVcsCache semantics.
Diffstat (limited to '.gitmodules')
0 files changed, 0 insertions, 0 deletions
