Function tvix_store::proto::parse_node_name_root

source ·
fn parse_node_name_root<E>(
    name: &[u8],
    err: fn(_: Vec<u8>, _: Error) -> E
) -> Result<StorePathRef<'_>, E>
Expand description

Parses a root node name.

On success, this returns the parsed store_path::StorePathRef. On error, it returns an error generated from the supplied constructor.