diff options
author | Ludovic Courtès <ludo@gnu.org> | 2013-04-12 14:35:01 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2013-04-12 14:42:56 +0200 |
commit | 8f3114b7a433480c9534903d23d659ce3fb12ffb (patch) | |
tree | 3077872a7d508e7faaee70110f963db71cb156ae /HACKING | |
parent | a2011be5dfaf2b94a1d0e3dfbcf4b512389b4711 (diff) | |
download | guix-8f3114b7a433480c9534903d23d659ce3fb12ffb.tar.gz |
nar: Add support for symlinks.
* guix/nar.scm (write-file): Add case for type `symlink'. (restore-file): Likewise. * tests/nar.scm (random-file-size, make-file-tree, delete-file-tree, with-file-tree, file-tree-equal?, make-random-bytevector, populate-file): New procedures. (%test-dir): New variable. ("write-file + restore-file"): Use `%test-dir' and `file-tree-equal?'. ("write-file + restore-file with symlinks"): New test.
Diffstat (limited to 'HACKING')
0 files changed, 0 insertions, 0 deletions