OpamFile.ConfigSourceConfiguration file: $opam/config
include IO_FILEFile contents
Write some contents to a file
Read file contents. Raise an error if the file does not exist.
Returns None on non-existing file
Read file contents. Return empty if the file does not exist.
Current root version
OCaml switch updates
Repository updates
Update opam-version
val with_global_variables :
(OpamTypes.variable * OpamTypes.variable_contents * string) list ->
t ->
tReturn the opam version
Return the opam root version
Return the list of repository
Return the OCaml switch
variable, value, docstring
variable, command, docstring
Raw read the config file to extract opam-root-version and opam-version fields value.