about summary refs log tree commit diff
path: root/tvix/nix-compat/src/nixhash/mod.rs
diff options
context:
space:
mode:
authorFlorian Klink <flokli@flokli.de>2024-04-12T09·38+0300
committerflokli <flokli@flokli.de>2024-04-13T10·03+0000
commit57fba1f167ac64ded89d4c61af08bb0f65c7f1f5 (patch)
tree89b453df34c20061085d1f99d38cc73c15cfedea /tvix/nix-compat/src/nixhash/mod.rs
parentfd4c7c10a8eb32a5b8ed7f7cbdc991692a36c30a (diff)
feat(nix-compat/store_path): impl [Partial]Ord for StorePathRef r/7889
Move the code implementing it from StorePath to StorePathRef, and have
the StorePath impls use that too.

Drop the debug_assert in every comparison - we have tests for this to
ensure it keeps working, and built up some confidence by piping a lot of
other store paths through it in the meantime.

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