diff options
author | Ludovic Courtès <ludo@gnu.org> | 2015-08-19 11:33:51 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2015-08-19 11:39:18 +0200 |
commit | 83bde59fb3db5827002a0049a5571e4163af5ff1 (patch) | |
tree | 627683584696b3ec7017325a8e3a4bf3c28417ab /tests/guix-package.sh | |
parent | 40a7d4e58ba05f39bf11edab68de6d3ae9c43306 (diff) | |
download | patches-83bde59fb3db5827002a0049a5571e4163af5ff1.tar patches-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/guix-package.sh')
0 files changed, 0 insertions, 0 deletions