OpamFile.Dot_config.config files
include IO_FILEval empty : tEmpty file
val write : OpamTypes.filename -> t -> unitWrite some contents to a file
val read : OpamTypes.filename -> tRead file contents. Raise an error if the file does not exist.
val safe_read : OpamTypes.filename -> tRead file contents. Return empty if the file does not exist.
val read_from_channel : ?filename:OpamTypes.filename -> in_channel -> tRead from channel.
val read_from_string : ?filename:OpamTypes.filename -> string -> tval write_to_channel : out_channel -> t -> unitWrite to channel.
val create : (OpamTypes.variable * OpamTypes.variable_contents) list -> tCreate a new .config file (containing only variables)
val variable : t -> OpamTypes.variable -> OpamTypes.variable_contents optionTop-level variables
val variables : t -> OpamTypes.variable listThe list of top-level variables
val bindings : t -> (OpamTypes.variable * OpamTypes.variable_contents) listLists all the bindings in the file
val set : t -> OpamTypes.variable -> OpamTypes.variable_contents option -> tSets the given variable, overriding any previous definition. With None, unsets the variable