about summary refs log tree commit diff
path: root/tvix/nix-compat/src/path_info.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-04-13T12·53+0300
committerclbot <clbot@tvl.fyi>2024-04-13T13·20+0000
commitb70e01a4dbf3a4057a38593f6657893a1f9e5120 (patch)
tree6fc683df547d1b3974616276594bb22ac9d17167 /tvix/nix-compat/src/path_info.rs
parenta919efbe117242ef3386efd6ef3282571792fb30 (diff)
feat(tvix/castore/import): remove copying in find_ancestor r/7910
We don't need to copy if we explicitly say that the returned
Option<Path> may hold onto bytes from the passed in &DirEntry.

Change-Id: Ib46b6fd2f8f19a45f8bef79c4c1d2fa6b490cad7
Reviewed-on: https://cl.tvl.fyi/c/depot/+/11410
Autosubmit: flokli <flokli@flokli.de>
Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Tested-by: BuildkiteCI
Diffstat (limited to 'tvix/nix-compat/src/path_info.rs')
0 files changed, 0 insertions, 0 deletions