summaryrefslogtreecommitdiff
path: root/gnu/packages/algebra.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2020-12-19 22:59:01 +0100
committerLudovic Courtès <ludo@gnu.org>2021-01-13 16:26:58 +0100
commit87b0001325992db60fdf24ac09ce254cd003721c (patch)
treeccbc9a0ac2a3193b03d27377d6c31ac55eade55d /gnu/packages/algebra.scm
parent56bfc71f0b5756ee4d654c88dfdbf77e7ace6d71 (diff)
downloadguix-patches-87b0001325992db60fdf24ac09ce254cd003721c.tar
guix-patches-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/algebra.scm')
0 files changed, 0 insertions, 0 deletions