X-Git-Url: http://git.annexia.org/?a=blobdiff_plain;f=augeas.mli;h=bada127ed7959d19740f268720d6980175828876;hb=4064f0ec2e3e65b9a611ff7a9721bd3977a010eb;hp=1123f059b4cea84a871f8d72ee6974302e0d5a9a;hpb=d92842594f602cc60b199b7377862a10798dbb7a;p=ocaml-augeas.git diff --git a/augeas.mli b/augeas.mli index 1123f05..bada127 100644 --- a/augeas.mli +++ b/augeas.mli @@ -29,6 +29,9 @@ type flag = | AugSaveBackup (** Rename original with .augsave *) | AugSaveNewFile (** Save changes to .augnew *) | AugTypeCheck (** Type-check lenses *) + | AugNoStdinc + | AugSaveNoop + | AugNoLoad (** Flags passed to the {!create} function. *) type path = string @@ -81,5 +84,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. *)