aboutsummaryrefslogtreecommitdiff
path: root/doc/package-hello.json
diff options
context:
space:
mode:
authorLudovic Courtès <ludo@gnu.org>2024-01-25 22:53:56 +0100
committerLudovic Courtès <ludo@gnu.org>2024-02-12 12:03:53 +0100
commitbe773bd192466fa7e26938a157c0885adf46139e (patch)
tree4eadde2d4ecbf31b92c34554126ebc6c47055e66 /doc/package-hello.json
parent1610a632d4b3097282d18af27ff3e9e178d7dfcb (diff)
downloadguix-be773bd192466fa7e26938a157c0885adf46139e.tar
guix-be773bd192466fa7e26938a157c0885adf46139e.tar.gz
swh: Add bindings for the “ExtID” API.
This interface was deployed at archive.softwareheritage.org a few days ago. Our main use case will be looking up directories by “nar-sha256” hashes. * guix/swh.scm (<external-id>): New JSON-mapped record type. (lookup-external-id, lookup-directory-by-nar-hash): New procedures. * tests/swh.scm (%external-id): New variable. ("lookup-directory-by-nar-hash"): New test. Change-Id: Ib671c7798aeb6f8132ac78f2b06b9285da8e7bd5
Diffstat (limited to 'doc/package-hello.json')
0 files changed, 0 insertions, 0 deletions