diff options
author | Ludovic Courtès <ludo@gnu.org> | 2017-01-29 12:55:24 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2017-01-30 10:52:45 +0100 |
commit | 0d268c5d701423b770b05ed208461c47709dafb7 (patch) | |
tree | 9ec59a6689ff319624e799275eb1d1abc087d3c7 /gnu/artwork.scm | |
parent | 9016dbc2bb469c31915c46cf8a1baecdfe022373 (diff) |
store: Add 'add-data-to-store'.
* guix/serialization.scm (write-bytevector): New procedure.
(write-string): Rewrite in terms of 'write-bytevector'.
* guix/store.scm (write-arg): Add 'bytevector' case.
(add-data-to-store): New procedure, from former 'add-text-to-store'.
(add-text-to-store): Rewrite in terms of 'add-data-to-store'.
* tests/store.scm ("add-data-to-store"): New test.
Diffstat (limited to 'gnu/artwork.scm')
0 files changed, 0 insertions, 0 deletions