about summary refs log tree commit diff
path: root/tvix/derivation/src
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2023-01-04T15·20+0100
committerflokli <flokli@flokli.de>2023-01-04T20·23+0000
commit8449f6cd0c97f341f75ac3201499ebb0c2161e6b (patch)
tree1574521f75f0b28d4c5a6294224cee5a5db743d7 /tvix/derivation/src
parent34be6466d4a5da7dd3ad55ce80c951f21e45520c (diff)
feat(tvix/store): implement Nixpath::from_absolute_path r/5586
This allows constructing a NixPath from an absolute path. It pops off
the STORE_DIR prefix and the trailing slash and returns an error if it
couldn't be found.

Change-Id: Ib540e353c63cc247ac15e20414b0db2caf695ef4
Reviewed-on: https://cl.tvl.fyi/c/depot/+/7751
Tested-by: BuildkiteCI
Reviewed-by: tazjin <tazjin@tvl.su>
Diffstat (limited to 'tvix/derivation/src')
0 files changed, 0 insertions, 0 deletions