summary refs log tree commit diff
path: root/tests
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2015-08-19 11:33:51 +0200
committerLudovic Courtès <ludo@gnu.org>2015-08-19 11:39:18 +0200
commit83bde59fb3db5827002a0049a5571e4163af5ff1 (patch)
tree627683584696b3ec7017325a8e3a4bf3c28417ab /tests
parent40a7d4e58ba05f39bf11edab68de6d3ae9c43306 (diff)
downloadguix-83bde59fb3db5827002a0049a5571e4163af5ff1.tar.gz
size: Get the item's size from the daemon rather than compute it.
This removes all I/O, which obviously makes things faster.

* guix/scripts/size.scm (file-size, store-item-exists?): Remove.
  (query-path-info*): New procedure.
  (file-size*): Rename to...
  (file-size): ... this; adjust caller.  Use 'query-path-info*' instead of
  'file-size'.
Diffstat (limited to 'tests')
0 files changed, 0 insertions, 0 deletions