Module jj_lib::merged_tree
source · Expand description
A lazily merged view of a set of trees.
Structs
- Summary of the changes between two trees.
- Helps with writing trees with conflicts. You start by creating an instance of this type with one or more base trees. You then add overrides on top. The overrides may be conflicts. Then you can write the result as a legacy tree (allowing path-level conflicts) or as multiple conflict-free trees.
- Iterator over the differences between two trees.
- Stream of differences between two trees.
- Recursive iterator over the entries in a tree.
Enums
- Presents a view of a merged set of trees.
- The value at a given path in a
MergedTree
.
Type Aliases
- 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.