tvl-depot/tvix/nar-bridge
Florian Klink f92b0ef933 refactor(tvix/nar-bridge): let callbaks return calculated digests
This aligns behaviour more with how it should be - it's the
responsibility of the callback functions to return digests of the things
they consume(d). It allows further cleaning up the hasher struct.

Change-Id: I9cbfc87e6abd4ff17fadf39eb6563ec3cb7fcc6f
Reviewed-on: https://cl.tvl.fyi/c/depot/+/9528
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
2023-10-05 06:17:10 +00:00
..
cmd/nar-bridge feat(tvix/nar-bridge): provide a default for store-addr 2023-09-24 17:05:48 +00:00
pkg refactor(tvix/nar-bridge): let callbaks return calculated digests 2023-10-05 06:17:10 +00:00
testdata fix(tvix/nar-bridge): Fix directory stack tracking 2023-09-17 13:34:00 +00:00
.gitignore feat(tvix/nar-bridge): init 2023-09-17 13:24:53 +00:00
default.nix refactor(tvix/nar-bridge): update to new separated protos 2023-09-22 17:41:32 +00:00
go.mod refactor(tvix/nar-bridge): update to new separated protos 2023-09-22 17:41:32 +00:00
go.sum refactor(tvix/nar-bridge): update to new separated protos 2023-09-22 17:41:32 +00:00
README.md feat(tvix/nar-bridge): init 2023-09-17 13:24:53 +00:00

//tvix/nar-bridge

This exposes a HTTP Binary cache interface (GET/HEAD/PUT requests) for a tvix- store.

It can be used to configure a tvix-store as a substitutor for Nix, or to upload store paths from Nix via nix copy into a tvix-store.