diff options
| author | Ludovic Courtès <ludo@gnu.org> | 2025-10-17 15:50:53 +0200 |
|---|---|---|
| committer | Ludovic Courtès <ludo@gnu.org> | 2025-11-03 17:18:38 +0100 |
| commit | 529dce6e98c22f00052df231414bca4f86e02094 (patch) | |
| tree | b5a3f465bf14604a9355e98457b2e0ec5eb81541 /gnu/tests | |
| parent | eb83cceb7eb2774e9d7ff90317ab1d0dcf350f2c (diff) | |
inferior: Caching works by checking the mtime, not the atime.
Mounting file systems with ‘noatime’ is common. Thus, avoid relying on the
atime.
* guix/inferior.scm (cached-channel-instance): Pass ‘stat:mtime’ to
‘file-expiration-time’. When ‘cached’ exists, call ‘utime’ to update its
mtime and atime.
Change-Id: Ib9bff45ed402260fdead3c23f09b431fa369e741
Diffstat (limited to 'gnu/tests')
0 files changed, 0 insertions, 0 deletions
