diff options
author | Florian Klink <flokli@flokli.de> | 2023-07-29T17·33+0200 |
---|---|---|
committer | clbot <clbot@tvl.fyi> | 2023-07-31T20·29+0000 |
commit | 9521df708f92a237090b1b17ec969b319c4d00fe (patch) | |
tree | 4cfc5f777ca909a34408b252f79b7b08ff5ce568 /tvix/nix-compat/src/derivation/string_escape.rs | |
parent | 0dea3086f5ed15191d01e499d55e6edfa73805ee (diff) |
feat(nix-compat/store_path): implement PartialOrd and Ord r/6448
This allows sorting Store Paths. We delegate the sorting business to the PartialOrd, Ord impls for our digest fields only, as two StorePaths with the same digest, but different names can't exist. Change-Id: I5f81631e5f5063893b316c63a240c5266b7e5bad Reviewed-on: https://cl.tvl.fyi/c/depot/+/8988 Autosubmit: flokli <flokli@flokli.de> Tested-by: BuildkiteCI Reviewed-by: raitobezarius <tvl@lahfa.xyz>
Diffstat (limited to 'tvix/nix-compat/src/derivation/string_escape.rs')
0 files changed, 0 insertions, 0 deletions