summary refs log tree commit diff
path: root/tests/services.scm
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2018-07-14 19:28:07 +0200
committerLudovic Courtès <ludo@gnu.org>2018-07-19 11:48:04 +0200
commitb94b698d4ed4bc478c56e507d53e5284d4f63073 (patch)
treeb79dc5dfca6542d9a66185f6b898e4c1f4745acb /tests/services.scm
parentec83abad858a68561959a82aa0daa41c66da31d3 (diff)
downloadguix-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 'tests/services.scm')
0 files changed, 0 insertions, 0 deletions