snix/tvix/store/src/proto
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
..
tests feat(tvix/store/proto): avoid clone in PathInfo::validate() 2024-04-05 23:28:11 +00:00
grpc_pathinfoservice_wrapper.rs fix(tvix/store/grpc/pathinfo): skip_all fields, handle errors 2024-03-09 05:48:46 +00:00
mod.rs feat(tvix/store/proto): avoid clone in PathInfo::validate() 2024-04-05 23:28:11 +00:00