From 8caa65f953642cd8fe12ca6493b25a463093f30b Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Wed, 3 Jun 2015 15:56:48 +0600 Subject: Add get_data function, a shortcut for getting a data of node at specified path. Mainly for quickly getting data from a reference tree. --- src/vytree.mli | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/vytree.mli') diff --git a/src/vytree.mli b/src/vytree.mli index e912922..6a7eda1 100644 --- a/src/vytree.mli +++ b/src/vytree.mli @@ -31,4 +31,6 @@ val get : 'a t -> string list -> 'a t val get_existent_path : 'a t -> string list -> string list +val get_data : 'a t -> string list -> 'a + val exists : 'a t -> string list -> bool -- cgit v1.2.3