diff options
author | Ludovic Courtès <ludo@gnu.org> | 2020-12-19 22:59:01 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-01-13 16:26:58 +0100 |
commit | 87b0001325992db60fdf24ac09ce254cd003721c (patch) | |
tree | ccbc9a0ac2a3193b03d27377d6c31ac55eade55d /gnu/packages/libidn.scm | |
parent | 56bfc71f0b5756ee4d654c88dfdbf77e7ace6d71 (diff) | |
download | guix-87b0001325992db60fdf24ac09ce254cd003721c.tar.gz |
git: Periodically delete least-recently-used cached checkouts.
This ensures ~/.cache/guix/checkouts is periodically cleaned up. * guix/git.scm (cached-checkout-expiration) (%checkout-cache-cleanup-period): New variables. (delete-checkout): New procedure. (update-cached-checkout)[cache-entries]: New procedure. Add call to 'maybe-remove-expired-cache-entries'. * guix/cache.scm (file-expiration-time): Add optional 'timestamp' parameter and honor it.
Diffstat (limited to 'gnu/packages/libidn.scm')
0 files changed, 0 insertions, 0 deletions