diff options
| author | John Estabrook <jestabro@vyos.io> | 2026-08-19 16:13:23 -0500 |
|---|---|---|
| committer | John Estabrook <jestabro@vyos.io> | 2026-08-25 14:10:26 -0500 |
| commit | a51aa7203aac2b9cdccfd5b7deed9121d9922717 (patch) | |
| tree | a29b46122440734a6a4c4a8740c7551c3b9abd52 /src/util_reference_tree.mli | |
| parent | 7791e2874e1b613385210325faadc9eea0e48cba (diff) | |
| download | vyos1x-config-a51aa7203aac2b9cdccfd5b7deed9121d9922717.tar.gz vyos1x-config-a51aa7203aac2b9cdccfd5b7deed9121d9922717.zip | |
T9231: add util_reference_tree
Add utilities for collecting paths of the reference_tree satisfying a
condition, with optional inclusion of extra data.
Expose util for returning owner of path.
Diffstat (limited to 'src/util_reference_tree.mli')
| -rw-r--r-- | src/util_reference_tree.mli | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/src/util_reference_tree.mli b/src/util_reference_tree.mli new file mode 100644 index 0000000..605a58a --- /dev/null +++ b/src/util_reference_tree.mli @@ -0,0 +1,16 @@ + +open Reference_tree + +val get_multi_nodes : ?tag_value_placeholder:string -> t -> string list list +val get_tag_nodes : ?tag_value_placeholder:string -> t -> string list list +val get_nodes_of_kind : ?tag_value_placeholder:string -> t -> string -> string list list +val get_rdeps_of_kind : ?tag_value_placeholder:string -> t -> string -> string list list +val get_rdeps_of_kind_data : ?tag_value_placeholder:string -> t -> string -> (string list * string) list + +val get_multi_nodes_yojson : ?tag_value_placeholder:string -> t -> string +val get_tag_nodes_yojson: ?tag_value_placeholder:string -> t -> string +val get_nodes_of_kind_yojson : ?tag_value_placeholder:string -> t -> string -> string +val get_rdeps_of_kind_yojson : ?tag_value_placeholder:string -> t -> string -> string +val get_rdeps_of_kind_data_yojson : ?tag_value_placeholder:string -> t -> string -> string + +val get_path_owner : t -> string list -> string option |
