| Exclude
(** The operation mode for the {!transform} function. *)
-exception Error of error_code * string * string * string
+exception Error of error_code * string * string * string * string
(** This exception is thrown when the underlying Augeas library
returns an error. The tuple represents:
- the Augeas error code
- the ocaml-augeas error string
+ - the Augeas error message
- the human-readable explanation of the Augeas error, if available
- a string with details of the Augeas error
*)
of [path]. By default it is inserted after [path], unless
[~before:true] is specified. *)
+val label : t -> path -> string option
+ (** [label t path] gets the label of [path].
+
+ Returns [Some value] when [path] matches only one node, and
+ that has an associated label. *)
+
val rm : t -> path -> int
(** [rm t path] removes all nodes matching [path].