From 460f2d895a6bf60e9c3b8aaabad3b5fccd2a379a Mon Sep 17 00:00:00 2001 From: John Estabrook Date: Fri, 10 Apr 2026 15:08:07 -0500 Subject: T8488: add utility refpath_from_partial Infer the reference path from a path that may or may not contain intervening tag nodes. Return an empty list on a nonsensical path. --- src/reference_tree.mli | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/reference_tree.mli') diff --git a/src/reference_tree.mli b/src/reference_tree.mli index 04347a5..b1341da 100644 --- a/src/reference_tree.mli +++ b/src/reference_tree.mli @@ -117,6 +117,8 @@ val get_subtree : ?with_node:bool -> t -> string list -> t val refpath : t -> string list -> string list +val refpath_from_partial : t -> string list -> string list + val set_tag_data : t -> Config_tree.t -> string list -> Config_tree.t [@@alert exn "Vytree.Empty_path"] [@@alert exn "Vytree.Nonexistent_path"] -- cgit v1.2.3