From d3c44ab03d14bc143e790426bede465feb871cd5 Mon Sep 17 00:00:00 2001 From: Florian Klink Date: Tue, 3 Oct 2023 14:29:24 +0300 Subject: refactor(tvix/nar-bridge): rename writer package to exporter Change-Id: I7cf6a3ed0dca4c450fadd9228dc0154ad6254f51 Reviewed-on: https://cl.tvl.fyi/c/depot/+/9530 Tested-by: BuildkiteCI Reviewed-by: Connor Brewster Autosubmit: flokli --- tvix/nar-bridge/pkg/server/nar_get.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'tvix/nar-bridge/pkg/server/nar_get.go') diff --git a/tvix/nar-bridge/pkg/server/nar_get.go b/tvix/nar-bridge/pkg/server/nar_get.go index 7397992611..3ccb8d658d 100644 --- a/tvix/nar-bridge/pkg/server/nar_get.go +++ b/tvix/nar-bridge/pkg/server/nar_get.go @@ -13,7 +13,7 @@ import ( "sync" castorev1pb "code.tvl.fyi/tvix/castore/protos" - "code.tvl.fyi/tvix/nar-bridge/pkg/writer" + "code.tvl.fyi/tvix/nar-bridge/pkg/exporter" storev1pb "code.tvl.fyi/tvix/store/protos" "github.com/go-chi/chi/v5" nixhash "github.com/nix-community/go-nix/pkg/hash" @@ -94,7 +94,7 @@ func renderNar( } // render the NAR file - err := writer.Export( + err := exporter.Export( w, pathInfo, func(directoryDigest []byte) (*castorev1pb.Directory, error) { -- cgit 1.4.1