Skip to main content

parse_tree

Function parse_tree 

Source
pub fn parse_tree(
    object_format: ObjectFormat,
    body: &[u8],
) -> Result<Vec<TreeEntry>, Error>
Expand description

Parses a tree body under git-object-grammar-v1.

ยงErrors

ObjectUnreadable for any mode, name, width, ordering, or padding defect.