diff options
author | Ludovic Courtès <ludo@gnu.org> | 2022-07-01 12:06:39 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2022-07-01 12:10:29 +0200 |
commit | 0dab106a6af36eaebfd533d3e38c1275deb85935 (patch) | |
tree | ffe91000c88f59849b8f2890173c12bf0a7f7b93 /tests | |
parent | 05a759ab36c66e6336cdcf9f04ecc9e6e8e29dc2 (diff) | |
download | guix-0dab106a6af36eaebfd533d3e38c1275deb85935.tar.gz guix-0dab106a6af36eaebfd533d3e38c1275deb85935.zip |
image: Add sanitizers for 'format' and 'partition-table-type'.
This allows common mistakes to be diagnosed early.
* gnu/image.scm (define-set-sanitizer): New macro.
(validate-image-format, validate-partition-table-type): New sanitizers.
(<image>)[format, partition-table-type]: Add 'sanitize' property.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions