OpamFile.InitConfigInit config file /etc/opamrc
include IO_FILEval format_version : OpamVersion.tval empty : tEmpty file
val write : t typed_file -> t -> unitWrite some contents to a file
val read : t typed_file -> tRead file contents. Raise an error if the file does not exist.
val read_opt : t typed_file -> t optionReturns None on non-existing file
val safe_read : t typed_file -> tRead file contents. Return empty if the file does not exist.
val read_from_channel : ?filename:t typed_file -> in_channel -> tval read_from_string : ?filename:t typed_file -> string -> tval write_to_channel : ?filename:t typed_file -> out_channel -> t -> unitval write_to_string : ?filename:t typed_file -> t -> stringval opam_version : t -> OpamTypes.opam_versionval repositories : t -> (OpamTypes.repository_name * (OpamTypes.url * OpamTypes.trust_anchors option)) listval default_compiler : t -> OpamTypes.formulaval jobs : t -> int optionval dl_tool : t -> OpamTypes.arg list optionval dl_jobs : t -> int optionval dl_cache : t -> OpamTypes.url listval solver_criteria : t -> (OpamTypes.solver_criteria * string) listval solver : t -> OpamTypes.arg list optionval wrappers : t -> Wrappers.tval global_variables : t -> (OpamTypes.variable * OpamTypes.variable_contents * string) listval eval_variables : t -> (OpamTypes.variable * string list * string) listval recommended_tools : t -> (string list * string option * OpamTypes.filter option) listval required_tools : t -> (string list * string option * OpamTypes.filter option) listval init_scripts : t -> ((string * string) * OpamTypes.filter option) listval with_opam_version : OpamTypes.opam_version -> t -> tval with_repositories : (OpamTypes.repository_name * (OpamTypes.url * OpamTypes.trust_anchors option)) list -> t -> tval with_default_compiler : OpamTypes.formula -> t -> tval with_dl_tool : OpamTypes.arg list option -> t -> tval with_dl_cache : OpamTypes.url list -> t -> tval with_solver_criteria : (OpamTypes.solver_criteria * string) list -> t -> tval with_solver : OpamTypes.arg list option -> t -> tval with_wrappers : Wrappers.t -> t -> tval with_global_variables : (OpamTypes.variable * OpamTypes.variable_contents * string) list -> t -> tval with_eval_variables : (OpamTypes.variable * string list * string) list -> t -> tval with_recommended_tools : (string list * string option * OpamTypes.filter option) list -> t -> tval with_required_tools : (string list * string option * OpamTypes.filter option) list -> t -> tval with_init_scripts : ((string * string) * OpamTypes.filter option) list -> t -> t