diff options
-rw-r--r-- | tvix/store/protos/export_test.go | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/tvix/store/protos/export_test.go b/tvix/store/protos/export_test.go index 9b1901758f83..6c33bdc90117 100644 --- a/tvix/store/protos/export_test.go +++ b/tvix/store/protos/export_test.go @@ -9,7 +9,6 @@ import ( castorev1pb "code.tvl.fyi/tvix/castore/protos" storev1pb "code.tvl.fyi/tvix/store/protos" "github.com/stretchr/testify/require" - "lukechampine.com/blake3" ) func mustDirectoryDigest(d *castorev1pb.Directory) []byte { @@ -20,15 +19,6 @@ func mustDirectoryDigest(d *castorev1pb.Directory) []byte { return dgst } -func mustBlobDigest(r io.Reader) []byte { - hasher := blake3.New(32, nil) - _, err := io.Copy(hasher, r) - if err != nil { - panic(err) - } - return hasher.Sum([]byte{}) -} - func TestSymlink(t *testing.T) { node := &castorev1pb.Node{ Node: &castorev1pb.Node_Symlink{ |