store: Add `store-path-hash-part'.
authorLudovic Courtès <ludo@gnu.org>
Mon, 1 Apr 2013 14:08:31 +0000 (16:08 +0200)
committerLudovic Courtès <ludo@gnu.org>
Mon, 1 Apr 2013 15:35:27 +0000 (17:35 +0200)
commit2c6ab6ccd430550dfbc95fbdd22ae017f39e5901
tree4afc3d506da5624f3697b005c635720cd5b3d7bd
parentef8c03407dce8d6ebdfcf53318ac9a09b5ee8461
store: Add `store-path-hash-part'.

* guix/store.scm (store-path-hash-part): New procedure.
* tests/store.scm ("store-path-hash-part", "store-path-hash-part #f"):
  New tests.
guix/store.scm
tests/store.scm