pub fn lookup(
data: &[u8],
format: ObjectFormat,
name: &[u8],
) -> Result<Option<Entry>>Expand description
Find one byte-string component in a previously validated tree. This checks
framing and duplicate matches in one linear pass. Cache insertion should use
object::Tree::parse_with_format for complete ordering/alias validation.