store: Add 'add-file-tree-to-store'.
authorLudovic Courtès <ludo@gnu.org>
Mon, 16 Jul 2018 07:55:49 +0000 (09:55 +0200)
committerLudovic Courtès <ludo@gnu.org>
Thu, 19 Jul 2018 09:48:04 +0000 (11:48 +0200)
commit7f11efbac7a13898bd925d2ef1e9d26cb0e22ade
treeade6ad9bd46bc3a989b7bd35d7b04548b853ef9a
parentb94b698d4ed4bc478c56e507d53e5284d4f63073
store: Add 'add-file-tree-to-store'.

* guix/store.scm (%not-slash): New variable.
(add-file-tree-to-store, interned-file-tree): New procedures.
* tests/store.scm ("add-file-tree-to-store"): New test.
guix/store.scm
tests/store.scm