pub fn parse_ipld_path(path: &str) -> Result<(String, Vec<String>)>Expand description
Parse an /ipld/<cid-string>[/seg1/seg2/…] path into its components.
Returns (cid_string, path_segments) on success.
§Errors
Returns an error when the path does not start with /ipld/ or when the
CID segment is missing.