about summary refs log tree commit diff
path: root/tvix/nar-bridge/cmd
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-10-03T12·01+0300
committerflokli <flokli@flokli.de>2023-10-05T06·17+0000
commitc18ff1a270d3e5ce6c63110fb2cef78a79ad43ef (patch)
tree2fae3026cacf094786507f6ff8d12589eb5ffee1 /tvix/nar-bridge/cmd
parent45511004dfd1c902707e83c690065b49aad64264 (diff)
refactor(tvix/nar-bridge): deduplicate NAR HEAD and GET r/6702
Use a genNarHandler() function accepting a boolean to construct the
HTTP handler.

Change-Id: I17c054826d91a9dbed8b1f53945a51f27fa60ace
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9537
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Autosubmit: flokli <flokli@flokli.de>
Diffstat (limited to 'tvix/nar-bridge/cmd')
0 files changed, 0 insertions, 0 deletions