git.annexia.org
/
ocaml-augeas.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Added Augeas.count_matches
[ocaml-augeas.git]
/
augeas.mli
diff --git
a/augeas.mli
b/augeas.mli
index
1123f05
..
3fe1e87
100644
(file)
--- 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]. *)
(** [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. *)
val save : t -> unit
(** [save t] saves all pending changes to disk. *)