build_tree

Function build_tree 

Source
pub fn build_tree(entries: Vec<TreeEntry>) -> (Tree, Vec<TreeChunk>)
Expand description

Build a tree from entries, chunking on content-derived boundaries.

Entries are sorted by NFC-normalized key bytes first, so the same set of entries always produces the same tree regardless of the order the caller walked the model in.