about summary refs log tree commit diff
path: root/default.nix
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-04-05T22·20+0300
committerclbot <clbot@tvl.fyi>2024-04-05T23·28+0000
commit39276dc5b41fa5e756ebb8ae30b4d2ac91995be7 (patch)
tree3f74aa26253e230608c3820e8cdc7dad676f907f /default.nix
parent9e8106305018057821905f1c7b8249e5a882336c (diff)
feat(tvix/store/proto): avoid clone in PathInfo::validate() r/7856
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>
Diffstat (limited to 'default.nix')
0 files changed, 0 insertions, 0 deletions