Expand description
A lazily merged view of a set of trees.
Structs§
- Merged
Tree - Presents a view of a merged set of trees at the root directory. In the future, this may store additional metadata like conflict labels, so tree IDs should be compared instead when checking for file changes.
- 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§
- all_
merged_ tree_ entries - Suppose the given
treesaren’t resolved, iterates(name, values)pairs non-recursively. This also works iftreesare resolved, but is more costly thantree.entries_non_recursive().
Type Aliases§
- Tree
Diff Stream - Type alias for the result from
MergedTree::diff_stream(). We use aStreaminstead of anIteratorso high-latency backends (e.g. cloud-based ones) can fetch trees asynchronously.