mirror of
https://github.com/martinvonz/jj.git
synced 2025-01-02 18:01:05 +00:00
83fefa9a3b
Now that we've replaced `MergeHunk` by a `Conflict`, it makes sense to convert the input `Conflict<FileId>` by mapping each term. Unlike `Option::map()` I made `Conflict::map()` take a reference `self`, because it's not uncommon to want to map the same conflict multiple times. I'm going to use that for producing a `Conflict<Option<TreeValue>>` from a `Conflict<Tree>` and a set of paths. |
||
---|---|---|
.. | ||
benches | ||
gen-protos | ||
src | ||
tests | ||
testutils | ||
build.rs | ||
Cargo.toml |