From 727deb901e3090653644a135c238c2f2878a4d8e Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Sun, 26 Apr 2015 15:03:19 +0600 Subject: Add path validation functionality. --- src/reference_tree.mli | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'src/reference_tree.mli') diff --git a/src/reference_tree.mli b/src/reference_tree.mli index f588144..701adf0 100644 --- a/src/reference_tree.mli +++ b/src/reference_tree.mli @@ -9,8 +9,12 @@ type ref_node_data = { owner: string option; } +exception Validation_error of string + type t = ref_node_data Vytree.t val default_data : ref_node_data val load_from_xml : t -> string -> t + +val validate_path : (string, string) Hashtbl.t -> t -> string list -> string list * string option -- cgit v1.2.3