Expand description
A lazily merged view of a set of trees.
Structs§
- Merged
Tree - Presents a view of a merged set of trees.
- Merged
Tree Builder - Helper for writing trees with conflicts.
- Tree
Diff Entry - A single entry in a tree diff.
- Tree
Diff Iterator - Iterator over the differences between two trees.
- Tree
Diff Stream Impl - Stream of differences between two trees.
- Tree
Entries Iterator - Recursive iterator over the entries in a tree.
Functions§
- resolve_
file_ values - Tries to resolve file conflicts by merging the file contents. Treats missing
files as empty. If the file conflict cannot be resolved, returns the passed
values
unmodified.
Type Aliases§
- Tree
Diff Stream - Type alias for the result from
MergedTree::diff_stream()
. We use aStream
instead of anIterator
so high-latency backends (e.g. cloud-based ones) can fetch trees asynchronously.