pub fn parse_path(
layout: &StoreLayout,
path: &str,
) -> Result<ParsedStorePath, SpecError>Expand description
Decompose a store path into its typed components.
Sibling of validate_path — validate_path returns Ok/Err;
parse_path returns the actual structure so operators and
downstream tooling can inspect it.
§Errors
Returns the same typed errors validate_path does
(store-path-not-rooted, store-path-bad-format).