diff options
author | Ludovic Courtès <ludo@gnu.org> | 2019-12-04 22:05:31 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2019-12-12 17:56:57 +0100 |
commit | 12c1afcdbdc984c760d00932bce64288b385bbc9 (patch) | |
tree | 4434ef48e9d7abeb0007b96e1eb06372a75b075a /scripts | |
parent | 55e21617d68073077fdc9f35307e94859ec7a6c4 (diff) | |
download | guix-patches-12c1afcdbdc984c760d00932bce64288b385bbc9.tar guix-patches-12c1afcdbdc984c760d00932bce64288b385bbc9.tar.gz |
serialization: Add 'fold-archive'.
* guix/serialization.scm (read-contents): Remove.
(read-file-type, fold-archive): New procedures.
(restore-file): Rewrite in terms of 'fold-archive'.
* tests/nar.scm ("write-file-tree + fold-archive")
("write-file-tree + fold-archive, flat file"): New tests.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions