package opam-format
Module OpamFile.InitConfigSource
Init config file /etc/opamrc
include IO_FILE
File 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.
Source
val repositories :
t ->
(OpamTypes.repository_name * (OpamTypes.url * OpamTypes.trust_anchors option))
listSource
val with_repositories :
(OpamTypes.repository_name * (OpamTypes.url * OpamTypes.trust_anchors option))
list ->
t ->
tSource
val with_global_variables :
(OpamTypes.variable * OpamTypes.variable_contents * string) list ->
t ->
tSource
val with_recommended_tools :
(string list * string option * OpamTypes.filter option) list ->
t ->
tSource
val with_required_tools :
(string list * string option * OpamTypes.filter option) list ->
t ->
t