From 335560d2c0420a363942d3368dec0b04dd8bf62b Mon Sep 17 00:00:00 2001 From: Daniil Baturin Date: Tue, 5 Jun 2018 16:35:12 +0700 Subject: Add a function for getting sorted children from a node and use it for sorting set commands. --- 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 9bc8844..da593f1 100644 --- a/src/vytree.mli +++ b/src/vytree.mli @@ -40,3 +40,5 @@ val get_data : 'a t -> string list -> 'a val exists : 'a t -> string list -> bool val children_of_path : 'a t -> string list -> string list + +val sorted_children_of_node : (string -> string -> int) -> 'a t -> ('a t) list -- cgit v1.2.3