diff options
author | Ludovic Courtès <ludo@gnu.org> | 2024-01-25 22:53:56 +0100 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2024-02-12 12:03:53 +0100 |
commit | be773bd192466fa7e26938a157c0885adf46139e (patch) | |
tree | 4eadde2d4ecbf31b92c34554126ebc6c47055e66 /doc/package-hello.json | |
parent | 1610a632d4b3097282d18af27ff3e9e178d7dfcb (diff) | |
download | guix-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