OpamFile.ConfigSourceConfiguration file: $opam/config
include IO_FILEFile contents
Write some contents to a file
Read file contents.
Returns None on non-existing file
Read file contents. Return empty if the file does not exist.
Current root version
OCaml switch updates
The list of switches, ordered by most recently used first
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, if not defined returns the default version value 2.1~~previous
Return the opam root version if defined
Return the list of repository
Return the OCaml switch
variable, value, docstring
variable, command, docstring
All file fields as print-AST, Fields within sections are accessed through dot-separated paths
Raw read the config file to extract opam-root-version field value.