diff options
author | Ludovic Courtès <ludo@gnu.org> | 2021-01-31 16:14:59 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2021-01-31 21:49:58 +0100 |
commit | 13a7d2a538b00aa0a8cf9b999f1a4ff3e5959af9 (patch) | |
tree | 0781cb715eb947cd41d4a490c6a37fce047dd6e6 /guix/gnu-maintenance.scm | |
parent | 9c4869fe9ca76caafe3ccfebfcb4a22d44cdf3f5 (diff) |
database: Validate #:nar-size and #:time when registering store items.
* guix/store/database.scm (assert-integer): New procedure.
(update-or-insert): Use it to validate NAR-SIZE and TIME.
* tests/store-database.scm ("sqlite-register with incorrect size"): New
test.
Diffstat (limited to 'guix/gnu-maintenance.scm')
0 files changed, 0 insertions, 0 deletions