diff options
author | David Craven <david@craven.ch> | 2017-01-08 00:03:50 +0100 |
---|---|---|
committer | David Craven <david@craven.ch> | 2017-01-10 12:00:05 +0100 |
commit | ab4e939c50b579eaee634c7c90c600f9c9f3aa3f (patch) | |
tree | 609c26a3d4bf0f3d72d086beebe83251a875ba47 /gnu/system/linux-initrd.scm | |
parent | 26905ec8a61f2e641fec1517b045da1d89a41cf6 (diff) | |
download | guix-patches-ab4e939c50b579eaee634c7c90c600f9c9f3aa3f.tar guix-patches-ab4e939c50b579eaee634c7c90c600f9c9f3aa3f.tar.gz |
file-systems: Refactor file-system predicates.
* gnu/build/file-systems.scm (partition-field-reader,
read-partition-field, %partition-label-readers,
%partition-uuid-readers, read-partition-label, read-partition-uuid):
New variables.
(partition-predicate, partition-label-predicate,
partition-uuid-predicate, luks-partition-uuid-predicate): Use
partition field readers.
(find-partition): New variable.
(find-partition-by-label, find-partition-by-uuid,
find-partition-by-luks-uuid): Use find-partition-by.
Diffstat (limited to 'gnu/system/linux-initrd.scm')
0 files changed, 0 insertions, 0 deletions