summary refs log tree commit diff
path: root/scripts
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2014-04-08 22:01:44 +0200
committerLudovic Courtès <ludo@gnu.org>2014-04-08 22:01:44 +0200
commit1d6243cf70269acdaf32f1ad61beba241f130484 (patch)
treec095e485d515820680f74ae2bd321d00d91190de /scripts
parentc397e502ca4f9a929e213e1c728b942a007ee278 (diff)
downloadguix-1d6243cf70269acdaf32f1ad61beba241f130484.tar.gz
ui: Add 'size->number'.
* guix/scripts/gc.scm (size->number): Remove.
* guix/ui.scm (size->number): New procedure.
* tests/ui.scm ("size->number, bytes",
  "size->number, MiB", "size->number, GiB", "size->number, 1.2GiB",
  "size->number, invalid unit"): New tests.
Diffstat (limited to 'scripts')
0 files changed, 0 insertions, 0 deletions