tvl-depot/tvix/nar-bridge/pkg/server
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
..
blob_upload.go refactor(tvix/nar-bridge): let callbaks return calculated digests 2023-10-05 06:17:10 +00:00
directory_upload.go refactor(tvix/nar-bridge): let callbaks return calculated digests 2023-10-05 06:17:10 +00:00
nar_get.go refactor(tvix/nar-bridge): update to new separated protos 2023-09-22 17:41:32 +00:00
nar_put.go refactor(tvix/nar-bridge): let callbaks return calculated digests 2023-10-05 06:17:10 +00:00
narinfo_get.go refactor(tvix/nar-bridge): update to new separated protos 2023-09-22 17:41:32 +00:00
narinfo_put.go refactor(tvix/nar-bridge): update to new separated protos 2023-09-22 17:41:32 +00:00
server.go refactor(tvix/nar-bridge): update to new separated protos 2023-09-22 17:41:32 +00:00
util.go feat(tvix/nar-bridge): init 2023-09-17 13:24:53 +00:00