diff --git a/src/path_utils/typed_path_ext.rs b/src/path_utils/typed_path_ext.rs index a7b2323..3cb6c99 100644 --- a/src/path_utils/typed_path_ext.rs +++ b/src/path_utils/typed_path_ext.rs @@ -31,7 +31,12 @@ pub fn tp_children(tp: &TypedPath) -> ExternResult ExternResult> { let children = tp_children(tp)?; //debug!("tp_children_paths() children = {:?}", children); + return links_to_paths(tp, children); +} + +/// +pub fn links_to_paths(tp: &TypedPath, children: Vec) -> ExternResult> { let components: ExternResult>> = children .into_iter() .map(|link| {