package augeas

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type
type t
type flag =
  1. | AugSaveBackup
  2. | AugSaveNewFile
  3. | AugTypeCheck
  4. | AugNoStdinc
  5. | AugSaveNoop
  6. | AugNoLoad
  7. | AugNoModlAutoload
  8. | AugEnableSpan
  9. | AugNoErrClose
  10. | AugTraceModuleLoading
type error_code =
  1. | AugErrInternal
  2. | AugErrPathX
  3. | AugErrNoMatch
  4. | AugErrMMatch
  5. | AugErrSyntax
  6. | AugErrNoLens
  7. | AugErrMXfm
  8. | AugErrNoSpan
  9. | AugErrMvDesc
  10. | AugErrCmdRun
  11. | AugErrBadArg
  12. | AugErrLabel
  13. | AugErrCpDesc
  14. | AugErrUnknown of int
type transform_mode =
  1. | Include
  2. | Exclude
exception Error of error_code * string * string * string * string
type path = string
type value = string
val create : string -> string option -> flag list -> t
val close : t -> unit
val defnode : t -> string -> string -> string option -> int * bool
val defvar : t -> string -> string option -> int option
val get : t -> path -> value option
val exists : t -> path -> bool
val insert : t -> ?before:bool -> path -> string -> unit
val label : t -> path -> string option
val rm : t -> path -> int
val matches : t -> path -> path list
val mv : t -> path -> path -> unit
val count_matches : t -> path -> int
val save : t -> unit
val load : t -> unit
val set : t -> path -> value option -> unit
val setm : t -> path -> string option -> value option -> int
val transform : t -> string -> string -> transform_mode -> unit
val source : t -> path -> path option
OCaml

Innovation. Community. Security.