about summary refs log tree commit diff
path: root/tvix/castore/default.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-05-05T08·23+0300
committerclbot <clbot@tvl.fyi>2024-05-06T15·11+0000
commit75f2a1f97d80469d7a179970377b373e89d7a28a (patch)
tree84906629fc5a214b680ddf2b54da2bdbbe9e4d6d /tvix/castore/default.nix
parent281bd46a43437c02435a67239c47994b7636ba66 (diff)
fix(tvix/castore/import): deal with entry.path() not having a parent r/8077
We got away with not properly dealing with this for the archive case,
where everything is contained inside a toplevel dir, but NARs can encode
a single file/symlink.

Properly break if the IngestionEntry path has the ROOT as parent, and
only create filling directories in the other case.

Change-Id: Ib378d0d1040de7c3fe310912a0b0488c55afee83
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11590
Tested-by: BuildkiteCI
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: Connor Brewster <cbrewster@hey.com>
Diffstat (limited to 'tvix/castore/default.nix')
0 files changed, 0 insertions, 0 deletions