about summary refs log tree commit diff
path: root/tvix/castore-go/castore_test.go
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-12-21T15·05+0200
committerflokli <flokli@flokli.de>2023-12-21T16·36+0000
commit329a7d30a7e11fabe46ab22cdb96ba800f75d49a (patch)
treeef72bafb5a3ed3769308ca4e63835808cac17fd9 /tvix/castore-go/castore_test.go
parent88adaea12babf9b32578e86a75b5f2eef79ba4a3 (diff)
refactor(nix-compat/store_path): centralize self_reference check r/7238
self_reference being set to true is only allowed for
`CAHash::Nar(NixHash::Sha256(_))`, so we can handle this in a check at
the front.

Change-Id: Ic363ade4789a7767cbe26a6959b143bb53e50e5a
Reviewed-on: https://cl.tvl.fyi/c/depot/+/10391
Reviewed-by: edef <edef@edef.eu>
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/castore-go/castore_test.go')
0 files changed, 0 insertions, 0 deletions