add util for gc'ing repo caches