X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=augeas.mli;fp=augeas.mli;h=3fe1e87f036dd69507195927d369ce147f7bfcea;hb=e078b8d80273f7b1df94b4acc2eca2f6f44a0a66;hp=1123f059b4cea84a871f8d72ee6974302e0d5a9a;hpb=0dc801f1fbcd071be48bd0d5199f101992da021e;p=ocaml-augeas.git diff --git a/augeas.mli b/augeas.mli index 1123f05..3fe1e87 100644 --- a/augeas.mli +++ b/augeas.mli @@ -81,5 +81,9 @@ val matches : t -> path -> path list (** [matches t path] returns a list of path expressions of all nodes matching [path]. *) +val count_matches : t -> path -> int + (** [count_matches t path] counts the number of nodes matching + [path] but does not return them (see {!matches}). *) + val save : t -> unit (** [save t] saves all pending changes to disk. *)