snix/tvix/store/src
Florian Klink 39276dc5b4 feat(tvix/store/proto): avoid clone in PathInfo::validate()
Have this return a StorePathRef<'_>, rather than a StorePath, and leave
it up to the caller to possibly convert it to a owned StorePath.

This avoids some allocations, if we only want to validate.

Change-Id: I5cf8e246fe02bd4e631f46a5cb86d3f77a728a0d
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11361
Autosubmit: flokli <flokli@flokli.de>
Tested-by: BuildkiteCI
Reviewed-by: Connor Brewster <cbrewster@hey.com>
2024-04-05 23:28:11 +00:00
..
bin feat(tvix/store): support RUST_LOG env var 2024-03-18 16:10:05 +00:00
nar feat(tvix/eval): implement builtins.path 2024-04-01 12:30:26 +00:00
pathinfoservice refactor(tvix/store/pathinfo/from_addr): stop using gen_*_service 2024-03-28 07:58:10 +00:00
proto feat(tvix/store/proto): avoid clone in PathInfo::validate() 2024-04-05 23:28:11 +00:00
tests refactor(tvix/store): drop proto/tests/{utils,grpc_pathinfoservice}.rs 2024-03-28 07:58:10 +00:00
import.rs refactor(tvix/store): generalize PathInfo constructors 2024-04-01 12:30:26 +00:00
lib.rs feat(tvix/store): add rstest-based PathInfoService tests 2024-03-28 07:02:18 +00:00
utils.rs feat(tvix/eval): implement builtins.path 2024-04-01 12:30:26 +00:00