diff options
author | Ludovic Courtès <ludo@gnu.org> | 2018-07-14 19:28:07 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2018-07-19 11:48:04 +0200 |
commit | b94b698d4ed4bc478c56e507d53e5284d4f63073 (patch) | |
tree | b79dc5dfca6542d9a66185f6b898e4c1f4745acb /ChangeLog | |
parent | ec83abad858a68561959a82aa0daa41c66da31d3 (diff) | |
download | patches-b94b698d4ed4bc478c56e507d53e5284d4f63073.tar patches-b94b698d4ed4bc478c56e507d53e5284d4f63073.tar.gz |
serialization: Add 'write-file-tree'.
* guix/serialization.scm (write-contents-from-port): New procedure.
(write-contents): Write in terms of 'write-contents-from-port'.
(filter/sort-directory-entries, write-file-tree): New procedures.
(write-file): Rewrite in terms of 'write-file-tree'.
* tests/nar.scm ("write-file-tree + restore-file"): New test.
Diffstat (limited to 'ChangeLog')
0 files changed, 0 insertions, 0 deletions