Module merged_tree

Module merged_tree 

Source
Expand description

A lazily merged view of a set of trees.

Structs§

MergedTree
Presents a view of a merged set of trees.
MergedTreeBuilder
Helper for writing trees with conflicts.
TreeDiffEntry
A single entry in a tree diff.
TreeDiffIterator
Iterator over the differences between two trees.
TreeDiffStreamImpl
Stream of differences between two trees.
TreeEntriesIterator
Recursive iterator over the entries in a tree.

Functions§

all_merged_tree_entries
Suppose the given trees aren’t resolved, iterates (name, values) pairs non-recursively. This also works if trees are resolved, but is more costly than tree.entries_non_recursive().

Type Aliases§

TreeDiffStream
Type alias for the result from MergedTree::diff_stream(). We use a Stream instead of an Iterator so high-latency backends (e.g. cloud-based ones) can fetch trees asynchronously.