predicates-rs
predicates-rs copied to clipboard
Smarter `find_case` for `eq_file`
Right now, its a default implementation
Ideally
- For Str, perform
differencewhere applicable- Do we also need to do this for
eval? Not sure if there is a difference
- Do we also need to do this for
Wouldn't it be nice to make case finders composable? Something like
use predicates::str::Diff as _;
predicate::path::eq_file(p).utf8().diff()
would not change how eval works, but would modify the case finder into what DifferencePredicate uses now.