diff options
author | Florian Klink <flokli@flokli.de> | 2023-01-04T15·20+0100 |
---|---|---|
committer | flokli <flokli@flokli.de> | 2023-01-04T20·23+0000 |
commit | 8449f6cd0c97f341f75ac3201499ebb0c2161e6b (patch) | |
tree | 1574521f75f0b28d4c5a6294224cee5a5db743d7 /tvix/store/docs | |
parent | 34be6466d4a5da7dd3ad55ce80c951f21e45520c (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/store/docs')
0 files changed, 0 insertions, 0 deletions