diff options
author | Christopher Baines <mail@cbaines.net> | 2022-06-10 10:13:19 +0100 |
---|---|---|
committer | Christopher Baines <mail@cbaines.net> | 2022-06-10 10:13:19 +0100 |
commit | 042f49e5fb52ea844ed5d29c17b26fbc8ad49f0e (patch) | |
tree | 0c350ff901650702179fc664302cb34fdfcc7c83 /nar-herder/utils.scm | |
parent | c36eba3cc93092dd6b0937fa676941f01be6a0b0 (diff) | |
download | nar-herder-042f49e5fb52ea844ed5d29c17b26fbc8ad49f0e.tar nar-herder-042f49e5fb52ea844ed5d29c17b26fbc8ad49f0e.tar.gz |
Add experimental support for serving files by hash
This route can be used to provide source files used in packages. The
URL pattern is the same as used by guix publish.
The main issue with the implementation is that the fibers web server
expects the entire response to be in memory, so I'm not sure how well
this will scale. Additionally, the code for extracting the file from
the nar isn't ideal.
Diffstat (limited to 'nar-herder/utils.scm')
0 files changed, 0 insertions, 0 deletions